N2o)
Retired.
- Reaction score
- 51
What is the event for searing arrows. I made an ability, poison arrows, based on that and i want a 20% chance for it to slow down the enemy or the poison to effect him. The problem being is that my trigger that i used to do this doesn't run to start with. Current Trigger:
Code:
Poison Arrows
Events
Unit - A unit Begins casting an ability
Conditions
(Ability being cast) Equal to Poison Arrows
Actions
Game - Display to (All players) the text: Testing
If ((Random integer number between 1 and 100) Less than or equal to 20) then do (Do nothing) else do (Skip remaining actions)
Set ptTempPoint = (Position of (Triggering unit))
Unit - Create 1 Dummy for (Owner of (Triggering unit)) at ptTempPoint facing Default building facing degrees
Custom script: call RemoveLocation (udg_ptTempPoint)
Unit - Add a 2.00 second Generic expiration timer to (Last created unit)
Unit - Add Poison Arrows Slow to (Last created unit)
Unit - Order (Last created unit) to Human Sorceress - Slow (Target unit of ability being cast)