HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

A big big problem.......

06-02-2006, 08:23 PM#1
Sharingan
Alright, this might sound utterly stupid......:
I used to test my map "offline", so I never got to notice this problem, but once i host the map ONLINE...some "TriggerSleepActions" seem to be multipled by one million.....
I use TriggerSleepActions a lot, from "0.3" to over 25 seconds...
Is this really a matter of delay?
Do I have to use timers for them all? And if Yes, how exactly do I use timers >_<
06-02-2006, 08:44 PM#2
johnfn
Try using a polled wait.
06-02-2006, 08:50 PM#3
Sharingan
...what's that >>?
06-02-2006, 09:04 PM#4
Captain Griffen
Waits in game seconds (PolledWait(real) in JASS). Normal waits should never be used, as they don't factor in lag, etc, while PolledWait uses the same clock as everything else in the game.
06-02-2006, 09:12 PM#5
Sharingan
Wow, thx!
EDIT: er...that's not a native function >>
06-02-2006, 09:27 PM#6
Captain Griffen
No, it's the most useful BJ in existance.
06-02-2006, 10:21 PM#7
Sharingan
sry to say this, but the delay still got uber hand........
It might sound absurd, but the latency now seems to be even worse(after using PolledWaits)
What i wanted to accomplish is to synchronize some effects with a certain music-clip (used as a sound-variable) by using tons of waits.......
It does work offline, but online....>_<
06-02-2006, 11:40 PM#8
TaintedReality
Timers + cached variables FTW.

http://www.wc3jass.com/viewtopic.php?t=1999

That should help, you're not looping but it's the same concept.