- Joined
- May 9, 2008
- Messages
- 1,446
-
Incarcerous
-
Events
- Unit - A unit Starts the effect of an ability
-
Conditions
- (Ability being cast) Equal to Incarcerous *
-
Actions
- Set TriggeringUnit = (Triggering unit)
- Set Rope_Point = (Target point of ability being cast)
- Set TriggeringUnitLoc = (Position of TriggeringUnit)
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Level of (Ability being cast) for (Triggering unit)) Equal to 1
-
Then - Actions
- Unit - Create 1 Esnare 1 for (Owner of (Triggering unit)) at Rope_Point facing TriggeringUnitLoc
- Set UnitVariable = (Last created unit)
- Sound - Set position of EnsnareTarget <gen> to Rope_Point with Z offset 0.00
- Trigger - Turn on Unit Group <gen>
- Wait 3.00 seconds
-
Else - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Level of (Ability being cast) for (Triggering unit)) Equal to 2
-
Then - Actions
- Unit - Create 1 Esnare 2 for (Owner of (Triggering unit)) at Rope_Point facing TriggeringUnitLoc
- Set UnitVariable = (Last created unit)
- Sound - Set position of EnsnareTarget <gen> to Rope_Point with Z offset 0.00
- Trigger - Turn on Unit Group <gen>
- Wait 4.00 seconds
-
Else - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Level of (Ability being cast) for (Triggering unit)) Equal to 3
-
Then - Actions
- Unit - Create 1 Esnare 3 for (Owner of (Triggering unit)) at Rope_Point facing TriggeringUnitLoc
- Set UnitVariable = (Last created unit)
- Sound - Set position of EnsnareTarget <gen> to Rope_Point with Z offset 0.00
- Trigger - Turn on Unit Group <gen>
- Wait 5.00 seconds
- Else - Actions
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- Trigger - Turn off Unit Group <gen>
- Sound - Destroy EnsnareTarget <gen>
-
Unit Group - Pick every unit in (Units within (100.00 + (100.00 x (Real((Level of (Ability being cast) for (Triggering unit)))))) of Rope_Point) and do (Actions)
-
Loop - Actions
- Unit - Unpause (Picked unit)
-
Loop - Actions
- Unit - Kill UnitVariable
- Custom script: call RemoveLocation (udg_Rope_Point)
- Custom script: call RemoveLocation (udg_TriggeringUnitLoc)
-
Events
Edit: The only thing unit grope does is to hurt the targets...