• 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.
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!
  • ✅ The POLL for Hive's Texturing Contest #34 is OPEN! Vote for the TOP 3 SKINS! 🔗Click here to cast your vote!
  • ✅ The POLL for Hive's Techtree Contest #20 is OPEN! Vote for the TOP 3 FACTIONS! 🔗Click here to cast your vote!

Trigger wait command

Status
Not open for further replies.
Level 7
Joined
Jul 4, 2007
Messages
249
Hey, why is this trigger not working? The unit just stays paused forever
 

Attachments

  • a.jpg
    a.jpg
    40.4 KB · Views: 56
There are some event responses that are not usesable after waits, like "Target unit of ability being cast". Event Response Myths

One solution is to use shadowing with help of local variables. See this demo with explanations: local udg_
It can be an useful tequnique for GUI users, and worth to check it out for such cases.

It's recommended to use "Starts effect of ability" over "Begins casting an ability", because at yours, the mana for example isn't consumpted, yet, and the ability order itself might still get interrupted so the cast actually never finishes. Casting Events Guide
 
Status
Not open for further replies.
Back
Top