HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Controlling lag

04-13-2005, 02:29 PM#1
qwertyui
If i know for sure that the game is BOUND to lag for a couple of seconds, is there a way to tell the map that for the next few seconds it is going to pause everything and concentrate exclusively on working through the lag-creating issue?

Maybe something like this can work?:

call DisplayTextToForce(GetPlayersAll(), "Loading, please wait")
call PauseGame(true)
call BigFatLaggingScript (with whatever parameters)
call PauseGame(false)
04-13-2005, 03:12 PM#2
Guest
I really don't think you can check for lag. Then again, I'm a noob.
04-13-2005, 03:59 PM#3
Azhag
I posted on a thread in Trigger Haven about a thing called Polled Wait. Here is the link.
http://www.wc3campaigns.com/showthread.php?t=73982

Read up on that, it might help your problem.