First Trigger
SecondTrigger
I need Help stopping the target unit without turning off the trigger cause it would mess up some things
-
Tauren Smash
-
Events
- Unit - A unit Starts the effect of an ability
-
Conditions
- (Ability being cast) Equal to Tauren Smash
-
Actions
- Set TaurenSmashCastingUnit[(Player number of (Owner of (Casting unit)))] = (Casting unit)
- Set TaurenSmashTargetUnit[(Player number of (Owner of (Target unit of ability being cast)))] = (Target unit of ability being cast)
-
Events
SecondTrigger
-
Knockback
-
Events
- Time - Every 0.01 seconds of game time
- Conditions
-
Actions
-
For each (Integer A) from 1 to 12, do (Actions)
-
Loop - Actions
- Set KnockBackPoint[(Integer A)] = ((Position of TaurenSmashTargetUnit[(Integer A)]) offset by 5.00 towards (Facing of TaurenSmashCastingUnit[(Integer A)]) degrees)
- Unit - Move TaurenSmashTargetUnit[(Integer A)] instantly to KnockBackPoint[(Integer A)]
- Custom script: call RemoveLocation(udg_KnockBackPoint[GetForLoopIndexA()])
-
Loop - Actions
-
For each (Integer A) from 1 to 12, do (Actions)
-
Events
I need Help stopping the target unit without turning off the trigger cause it would mess up some things
Last edited by a moderator: