- Joined
- Dec 17, 2009
- Messages
- 1,114
-
Hello there my friends
-
im a bit confused about my triggers!!!
-
please do check, if anything is wrong with it
-
please ok!
The map won't work/can't be played because of this trigger, i'm damn confused, this trigger supposed to work though ,
it has leaks?? i think it is
is it efficient?? i think it is
so here's the trigg
-
Icarus Punishment
-

Events
-


Unit - A unit Starts the effect of an ability
-
-

Conditions
-


Icarus Punishment Equal to (Ability being cast)
-
-

Actions
-


Set IL_Caster = (Casting unit)
-


Set IL_Target = (Target unit of ability being cast)
-


Set IL_SpecialEffect = (Position of IL_Target)
-


For each (Integer A) from 1 to 50, do (Actions)
-



Loop - Actions
-




Unit - Pause IL_Target
-




Unit - Pause IL_Caster
-




Animation - Play IL_Caster's Attack animation
-




Animation - Play IL_Target's Death animation
-




Special Effect - Create a special effect at IL_SpecialEffect using Abilities\Spells\Other\Stampede\StampedeMissileDeath.mdl
-




Special Effect - Destroy (Last created special effect)
-




Unit - Unpause IL_Caster
-




Unit - Unpause IL_Target
-




If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-





If - Conditions
-






(Level of Icarus Punishment for IL_Caster) Equal to 1
-
-





Then - Actions
-






Unit - Cause IL_Caster to damage IL_Target, dealing 3.90 damage of attack type Spells and damage type Normal
-
-





Else - Actions
-






If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-







If - Conditions
-








(Level of Icarus Punishment for IL_Caster) Equal to 2
-
-







Then - Actions
-








Unit - Cause IL_Caster to damage IL_Target, dealing 5.10 damage of attack type Spells and damage type Normal
-
-







Else - Actions
-








If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-









If - Conditions
-










(Level of Icarus Punishment for IL_Caster) Equal to 3
-
-









Then - Actions
-










Unit - Cause IL_Caster to damage IL_Target, dealing 7.10 damage of attack type Spells and damage type Normal
-
-









Else - Actions
-










Do nothing
-
-
-
-
-
-
-




Wait 0.08 seconds
-
-
-


Set IL_Caster = No unit
-


Set IL_Target = No unit
-


Custom script: call RemoveLocation( udg_IL_SpecialEffect )
-
-
anything wrong with this?

Last edited:



