• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

[Trigger] stopping the knockback without using trigger turn off

Status
Not open for further replies.
Level 4
Joined
Aug 3, 2008
Messages
58
First Trigger
  • 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)


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()])
The Initially On thing hasn't been modifed for second trigger.
I need Help stopping the target unit without turning off the trigger cause it would mess up some things
 
Last edited by a moderator:
Status
Not open for further replies.
Top