• 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.

Timing effects

Status
Not open for further replies.
Level 3
Joined
Dec 3, 2008
Messages
23
I apply a movementspeed 'debuff' to a unit from a skill. How can I setup a timer that gets rid of the debuff after awhile, but still have the skill be MUI?
 
Level 3
Joined
Dec 3, 2008
Messages
23
Nope, nothing explained there ._.

Of course, I could always use JASS, thus having access to local variables? (Thats an insanely horrible hamper on GUI development)
 
Level 13
Joined
Mar 16, 2008
Messages
941
Well, yes it could be done with locals and waits, but thats inaccurate. Depending on the duration (like 30 seconds) it's okay to use waits. The methods I mentioned are possibilities to store values under the id of a handle, a timer. Another problem is, that the duration could get refreshed, and you have to take care of that. I'd recommend to use a dummybuff or something^^
 
Status
Not open for further replies.
Top