Dummy Unit Timing?

junicobakura

Member
Reaction score
3
i made a spell that will move the caster instantly to the target location upon landing he will stun all enemy units in range.....

but there is a delay of the war stomp casting

any suggestions what should i do?

Trigger:
  • Rocket
    • Events
      • Unit - A unit Starts the effect of an ability
    • Conditions
      • (Ability being cast) Equal to Gomu Gomu:Rocket
    • Actions
      • Custom script: local real x
      • Custom script: local real y
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (Target unit of ability being cast) Equal to No unit
        • Then - Actions
          • Unit - Turn collision for (Triggering unit) Off
          • Set GomRocketOffset = (Target point of ability being cast)
          • Unit - Create 1 Dummy Caster for (Owner of (Triggering unit)) at GomRocketOffset facing Default building facing degrees
          • Unit - Make (Last created unit) Explode on death
          • Unit - Add a 1.00 second Generic expiration timer to (Last created unit)
          • Unit - Add Rocket Stomp to (Last created unit)
          • Unit - Set level of Rocket Stomp for (Last created unit) to (Level of Gomu Gomu:Rocket for (Triggering unit))
          • Unit - Order (Last created unit) to Orc Tauren Chieftain - War Stomp
          • Custom script: set x = GetLocationX(udg_GomRocketOffset)
          • Custom script: set y = GetLocationY(udg_GomRocketOffset)
          • Custom script: call SetUnitX(GetTriggerUnit(), x)
          • Custom script: call SetUnitY(GetTriggerUnit(), y)
          • Unit - Turn collision for (Triggering unit) On
        • Else - Actions
          • Set GomRocketOffset = (Position of (Target unit of ability being cast))
          • Unit - Create 1 Dummy Caster for (Owner of (Triggering unit)) at GomRocketOffset facing Default building facing degrees
          • Unit - Make (Last created unit) Explode on death
          • Unit - Add a 1.00 second Generic expiration timer to (Last created unit)
          • Unit - Add Rocket Stomp to (Last created unit)
          • Unit - Set level of Rocket Stomp for (Last created unit) to (Level of Gomu Gomu:Rocket for (Triggering unit))
          • Unit - Order (Last created unit) to Orc Tauren Chieftain - War Stomp
          • Custom script: set x = GetLocationX(udg_GomRocketOffset)
          • Custom script: set y = GetLocationY(udg_GomRocketOffset)
          • Custom script: call SetUnitX(GetTriggerUnit(), x)
          • Custom script: call SetUnitY(GetTriggerUnit(), y)
          • Unit - Order (Triggering unit) to Attack (Target unit of ability being cast)
      • Custom script: call RemoveLocation(udg_GomRocketOffset)
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Staff online

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top