Staredit Network

Staredit Network -> Modding Assistance -> Quick IceCC question
Report, edit, etc...Posted by Voyager7456(MM) on 2005-05-27 at 17:16:56
What is the unit for the "wait" command? If it's "wait 1", how long does it wait? 1 millisecond? 1 second? 1/16th of a second?

Help is appreciated. Thanks.
Report, edit, etc...Posted by Puni(F) on 2005-05-27 at 17:24:28
If you set the wait to "1", It will take 1/10 of a second to do whatever you want the unit/build time to do.

EDIT: What are you planning to do with this anyway? happy.gif
Report, edit, etc...Posted by StealthyDeath on 2005-05-27 at 18:34:29
A wait of 1 in IceCC is equivalent to 1/10 of a second.
Report, edit, etc...Posted by Voyager7456(MM) on 2005-05-27 at 19:29:08
QUOTE(StealthyDeath @ May 27 2005, 04:34 PM)
A wait of 1 in IceCC is equivalent to 1/10 of a second.
[right][snapback]218089[/snapback][/right]


Thanks... that explains why "wait 4000" was causing a few problems... blink.gif
Report, edit, etc...Posted by BSTRhino on 2005-05-27 at 19:57:18
Wait is 1 tick, and one tick occurs every time StarCraft redraws the screen. So, if you want a smooth animation, change your frame every one or two ticks. The speed of ticks kind of depends on game speed, you can see the ticks are slower when you set the game speed to a slower speed, and faster when you set the game to a faster speed, so try to think less of milliseconds and more of ticks.
Next Page (1)