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

Wait trigger

Status
Not open for further replies.

hdm

hdm

Level 9
Joined
Nov 19, 2011
Messages
384
You say that the action Wait x seconds is not a viable action. What should I do then to substitute (if there is any way to do) this action ?

I'm sorry abusing your help, I make many questions >.<

:vw_sad:
 

Dr Super Good

Spell Reviewer
Level 64
Joined
Jan 18, 2005
Messages
27,258
In Warcraft III it is not viable as it does not produce predictable and accurate results. Between sessions and possibly within sessions the time waited will vary in an unpredictable way. Especially in multiplayer the duration of the wait will be much longer than intended (for small waits especially).

For this reason you need to use timers as they do produce accurate and expected results.

In StarCraft II waits work perfectly fine and are precise to the same degree as every deterministic part of the game (1 game frame or 1/16 of a second). This is just one of the many improvements SC2 has over WC3.
 
Status
Not open for further replies.
Top