- Joined
- Mar 13, 2008
- Messages
- 126
If I make a trigger like this one:
tnx in advance
-
Roots of Ironwood
-
Events
-
Unit - A unit Starts the effect of an ability
-
-
Conditions
-
(Ability being cast) Equal to Roots of Ironwood
-
-
Actions
-
Custom script: local location udg_EntanglePoint
-
Set EntangleGroup = (Units within 100.00 of (Target point of ability being cast) matching (((Picked unit) belongs to an enemy of (Owner of (Triggering unit))) Equal to True))
-
Unit Group - Pick every unit in EntangleGroup and do (Actions)
-
Loop - Actions
-
Set EntanglePoint = (Position of (Random unit from EntangleGroup))
-
Unit - Create 1 Dummy Caster for (Owner of (Triggering unit)) at EntanglePoint facing Default building facing degrees
-
Unit - Add Roots of Ironwood (Dummy) to (Last created unit)
-
Unit - Set level of Roots of Ironwood (Dummy) for (Last created unit) to (Level of Roots of Ironwood for (Triggering unit))
-
Unit - Order (Last created unit) to Night Elf Keeper Of The Grove - Entangling Roots (Picked unit)
-
Unit - Add a 2.00 second Generic expiration timer to (Last created unit)
-
Custom script: call RemoveLocation(udg_EntanglePoint)
-
-
-
Custom script: call DestroyGroup(udg_EntangleGroup)
-
-
tnx in advance