• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

Whats the smallest amount of time you can put in PolledWait() or TriggerSleepAction()

Status
Not open for further replies.
Level 9
Joined
Nov 28, 2008
Messages
704
Yeah, Im hoping the title explains it all.

My map has a custom spell that loops, and inside the loop it waits 0.250 seconds before loooping again.

Can you set it any lower then that? I have tried, and it has failed.

Does the game just set it to a minimum or something?
 
Level 9
Joined
Nov 28, 2008
Messages
704
Unfortunately, mui spells are a bitch to use timers with.

Around a quarter of a second, though? Thanks alot, I guess Ill just makeit 0.3 seconds, can then just set the number of loops based on that.
 
Level 11
Joined
Apr 13, 2006
Messages
353
Thought I would stumble by and say that there is no harm in doing TriggerSleepAction(0.0). There is actually a difference between 0.0 and 0.3, I can personally attest to that.

Though as mentioned by others, for iterations you should use timers...
 
Status
Not open for further replies.
Top