• 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.
  • Create a faction for Warcraft 3 and enter Hive's 19th Techtree Contest: Co-Op Commanders! Click here to enter!
  • Create a void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 21st Texturing Contest: Upgrade is now concluded, time to vote for your favourite set of icons! Click here to vote!

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