- Joined
- Dec 17, 2009
- Messages
- 1,115
I changed the trigger, look again please?
1.This one is the launcher
1.This one is the launcher
-
Escape Breaker
-
Events
-
Unit - A unit Starts the effect of an ability
-
-
Conditions
-
(Ability being cast) Equal to Escape Breaker
-
-
Actions
-
Set EB_Caster = (Casting unit)
-
Set EB_Target = (Target unit of ability being cast)
-
Set EB_Point = (Position of EB_Target)
-
Trigger - Turn on Escape Stunner <gen>
-
Trigger - Turn on Escape Breaker Checker <gen>
-
-
-
Escape Breaker Checker
-
Events
-
Time - Every 0.01 seconds of game time
-
-
Conditions
-
Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
(Level of Escape Breaker for EB_Caster) Equal to 1
-
-
Then - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
EB_ECount Equal to (7.00 / 0.01)
-
-
Then - Actions
-
Set EB_ECount = 0.00
-
Trigger - Turn off (This trigger)
-
Trigger - Turn off Escape Stunner <gen>
-
Custom script: call RemoveLocation( udg_EB_Point )
-
-
Else - Actions
-
Set EB_ECount = (EB_ECount + 0.01)
-
-
-
-
Else - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
(Level of Escape Breaker for EB_Caster) Equal to 2
-
-
Then - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
EB_ECount Equal to (9.00 / 0.01)
-
-
Then - Actions
-
Set EB_ECount = 0.00
-
Trigger - Turn off (This trigger)
-
Trigger - Turn off Escape Stunner <gen>
-
Custom script: call RemoveLocation( udg_EB_Point )
-
-
Else - Actions
-
Set EB_ECount = (EB_ECount + 0.01)
-
-
-
-
Else - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
(Level of Escape Breaker for EB_Caster) Equal to 3
-
-
Then - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
EB_ECount Equal to (11.00 / 0.01)
-
-
Then - Actions
-
Set EB_ECount = 0.00
-
Trigger - Turn off (This trigger)
-
Trigger - Turn off Escape Stunner <gen>
-
Custom script: call RemoveLocation( udg_EB_Point )
-
-
Else - Actions
-
Set EB_ECount = (EB_ECount + 0.01)
-
-
-
-
Else - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
EB_ECount Equal to (13.00 / 0.01)
-
-
Then - Actions
-
Set EB_ECount = 0.00
-
Trigger - Turn off (This trigger)
-
Trigger - Turn off Escape Stunner <gen>
-
Custom script: call RemoveLocation( udg_EB_Point )
-
-
Else - Actions
-
Set EB_ECount = (EB_ECount + 0.01)
-
-
-
-
-
-
-
-
-
-
-
Escape Stunner
-
Events
-
Unit - A unit Is issued an order targeting a point
-
Unit - A unit Is issued an order with no target
-
Unit - A unit Is issued an order targeting an object
-
-
Conditions
-
EB_Target Equal to (Ordered unit)
-
Or - Any (Conditions) are true
-
Conditions
-
(Issued order) Equal to (Order(attack))
-
(Issued order) Equal to (Order(smart))
-
(Issued order) Equal to (Order(move))
-
-
-
-
Actions
-
Set EB_LPoint = (Position of EB_Target)
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
(Level of Escape Breaker for EB_Caster) Equal to 1
-
-
Then - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
(Distance between EB_Point and EB_LPoint) Greater than or equal to 600.00
-
-
Then - Actions
-
Unit - Cause EB_Caster to damage EB_Target, dealing 100.00 damage of attack type Hero and damage type Normal
-
Unit - Pause EB_Target
-
Special Effect - Create a special effect attached to the chest of EB_Target using Abilities\Spells\Other\Stampede\MissileDeath.mdl
-
Wait 2.00 seconds
-
Unit - Unpause EB_Target
-
Special Effect - Destroy (Last created special effect)
-
Custom script: call RemoveLocation( udg_EB_LPoint )
-
-
Else - Actions
-
Custom script: call RemoveLocation( udg_EB_LPoint )
-
-
-
-
Else - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
(Level of Escape Breaker for EB_Caster) Equal to 2
-
-
Then - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
(Distance between EB_Point and EB_LPoint) Greater than or equal to 500.00
-
-
Then - Actions
-
Unit - Cause EB_Caster to damage EB_Target, dealing 175.00 damage of attack type Hero and damage type Normal
-
Unit - Pause EB_Target
-
Special Effect - Create a special effect attached to the chest of EB_Target using Abilities\Spells\Other\Stampede\MissileDeath.mdl
-
Wait 3.00 seconds
-
Unit - Unpause EB_Target
-
Special Effect - Destroy (Last created special effect)
-
Unit - Unpause EB_Target
-
Custom script: call RemoveLocation( udg_EB_LPoint )
-
-
Else - Actions
-
Custom script: call RemoveLocation( udg_EB_LPoint )
-
-
-
-
Else - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
(Level of Escape Breaker for EB_Caster) Equal to 3
-
-
Then - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
(Distance between EB_Point and EB_LPoint) Greater than or equal to 500.00
-
-
Then - Actions
-
Unit - Cause EB_Caster to damage EB_Target, dealing 205.00 damage of attack type Hero and damage type Normal
-
Unit - Pause EB_Target
-
Special Effect - Create a special effect attached to the chest of EB_Target using Abilities\Spells\Other\Stampede\MissileDeath.mdl
-
Wait 4.00 seconds
-
Unit - Unpause EB_Target
-
Special Effect - Destroy (Last created special effect)
-
Unit - Unpause EB_Target
-
Custom script: call RemoveLocation( udg_EB_LPoint )
-
-
Else - Actions
-
Custom script: call RemoveLocation( udg_EB_LPoint )
-
-
-
-
Else - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
(Distance between EB_Point and EB_LPoint) Greater than or equal to 500.00
-
-
Then - Actions
-
Unit - Cause EB_Caster to damage EB_Target, dealing 275.00 damage of attack type Hero and damage type Normal
-
Unit - Pause EB_Target
-
Special Effect - Create a special effect attached to the chest of EB_Target using Abilities\Spells\Other\Stampede\MissileDeath.mdl
-
Wait 4.00 seconds
-
Unit - Unpause EB_Target
-
Special Effect - Destroy (Last created special effect)
-
Unit - Unpause EB_Target
-
Custom script: call RemoveLocation( udg_EB_LPoint )
-
-
Else - Actions
-
Custom script: call RemoveLocation( udg_EB_LPoint )
-
-
-
-
-
-
-
-
-
-
Last edited: