• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

Problem in GUI Trigger, could anyone help?

Status
Not open for further replies.
Level 3
Joined
Jun 18, 2010
Messages
33
Okay, im trying to make an custom spell which uses this GUI trigger. But this trigger seems stop working when it research to "Wait 0.40 seconds".
Could anyone help me with this?

  • BackStap
    • Events
      • Unit - A unit Begins casting an ability
    • Conditions
      • (Ability being cast) Equal to BackStab
    • Actions
      • Special Effect - Create a special effect attached to the origin of (Casting unit) using Abilities\Spells\NightElf\Blink\BlinkCaster.mdl
      • Special Effect - Destroy (Last created special effect)
      • Wait 0.25 seconds
      • Set Point[3] = (Position of (Target unit of ability being cast))
      • Set Point[4] = (Point[3] offset by 90.00 towards ((Facing of (Target unit of ability being cast)) + 180.00) degrees)
      • Special Effect - Create a special effect at Point[4] using Abilities\Spells\NightElf\Blink\BlinkTarget.mdl
      • Special Effect - Destroy (Last created special effect)
      • Unit - Move (Casting unit) instantly to Point[4], facing (Angle from Point[3] to Point[4]) degrees
      • Unit - Pause (Casting unit)
      • Animation - Play (Casting unit)'s attack 1 animation
      • Custom script: call RemoveLocation( udg_Point[3] )
      • Custom script: call RemoveLocation( udg_Point[4] )
      • Wait 0.40 seconds
      • Unit - Set life of (Target unit of ability being cast) to ((Life of (Target unit of ability being cast)) - 100.00)
      • Set Point[3] = (Position of (Target unit of ability being cast))
      • Special Effect - Create a special effect at Point[3] using Objects\Spawnmodels\Critters\Albatross\CritterBloodAlbatross.mdl
      • Special Effect - Destroy (Last created special effect)
      • Unit - Unpause (Casting unit)
      • Custom script: call RemoveLocation( udg_Point[3] )
      • Floating Text - Create floating text that reads (String((100 x (Level of BackStab for (Casting unit))))) above (Target unit of ability being cast) with Z offset 0.00, using font size 10.00, color (100.00%, 0.00%, 0.00%), and 0.00% transparency
      • Floating Text - Change (Last created floating text): Disable permanence
      • Floating Text - Set the velocity of (Last created floating text) to 64.00 towards 90.00 degrees
      • Floating Text - Change the lifespan of (Last created floating text) to 5.00 seconds
 
Status
Not open for further replies.
Top