- Joined
- May 11, 2010
- Messages
- 278
When triggering a spell with a delayed effect, what is the pros and cons of using timers vs the wait function?
Example:
Unit casts Taunt
Trigger adds an Aura to Unit
Wait 5 seconds and remove Aura
or
Start Timer as a one-shot timer that expires in 5 seconds
New trigger: When Timer expires, remove Aura
Wich one is preferable? And in wich cases might i want to use the other one?
Example:
Unit casts Taunt
Trigger adds an Aura to Unit
Wait 5 seconds and remove Aura
or
Start Timer as a one-shot timer that expires in 5 seconds
New trigger: When Timer expires, remove Aura
Wich one is preferable? And in wich cases might i want to use the other one?