- Joined
- Aug 3, 2004
- Messages
- 2,891
Why?
-
Hex
-
Events
- Unit - A unit Starts the effect of an ability
-
Conditions
- (Ability being cast) Equal to Hex
-
Actions
- Set TempLoc194 = (Target point of ability being cast)
- Set Hex_Group = (Units within 300.00 of TempLoc194 matching ((((Matching unit) is A structure) Equal to False) and ((((Matching unit) is A Hero) Equal to False) and ((((Matching unit) is Magic Immune) Equal to False) and ((((Matching unit) is Mechanical) Equal to False) and ((((Matching unit) is Polymorphed) Equal to False) and ((((Matching unit) is Mechanical) Equal to False) and (((Owner of (Matching Unit)) is and ally of (Owner of (Triggering Unit))) Equal to False)))
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Number of units in Hex_Group) Greater than 0
-
Then - Actions
-
Unit Group - Pick every unit in Hex_Group and do (Actions)
-
Loop - Actions
- Unit - Create 1 Dummy for (Owner of (Triggering unit)) at TempLoc194 facing Default building facing degrees
- Unit - Add a 3.00 second Generic expiration timer to (Last created unit)
- Unit - Add Hex (Dummy) to (Last created unit)
- Unit - Order (Last created unit) to Orc Shadow Hunter - Hex (Picked unit)
-
Loop - Actions
-
Unit Group - Pick every unit in Hex_Group and do (Actions)
- Else - Actions
-
If - Conditions
- Custom script: call RemoveLocation (udg_TempLoc194)
- Custom script: call DestroyGroup (udg_Hex_Group)
-
Events
Last edited: