HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Wait- Game Time

07-01-2006, 03:29 PM#1
ShadowDestroyer
I know the normal wait function includes the laging time.

If you use Wait- Game Time, will it include time that the game is lagging? What about paused game time?

I have a trigger that pauses the game at start so the host may choose settings for the game. But I have a wait trigger that chooses the settings for you, if the player doesn't respond. The problem is, lag will sometimes cause players to be unable to chose the settings because of the wait trigger. I was conisdering using wait- game time to not include the lagging time, but I wasn't sure if it would work since the game is paused.
07-01-2006, 03:35 PM#2
shadow1500
I think TriggerSleepAction will continue through lag but PolledWait won't.
Generally its better to use PolledWait in multiplayer maps.
07-01-2006, 03:48 PM#3
ShadowDestroyer
Ok, it wont last through lag, but will it last through paused time? If not, then I am not sure how to do this.
07-01-2006, 03:51 PM#4
iNfraNe
Polledwait uses a timer which stops each time the game is paused (including lags). So.. it will do a wait in "game-time" as the function states to do..
07-01-2006, 05:03 PM#5
ShadowDestroyer
Right, but I have the game paused during the rule selection.

How do I keep the lag from couting as game time, while the game is paused?

Is there something I could do instead of pausing, that has the same effect?
07-01-2006, 06:01 PM#6
The)TideHunter(
Trigger:
Actions
Wait SomeSeconds seconds
Will wait a certain amount of seconds, no matter what happens, it will wait that then continue.

Trigger:
Actions
Wait SomeSeconds game-time seconds
Will wait a certain amount of seconds, if the lag box appears or game is paused in any way, that wait will freeze until lag box dissapears or game is resumed.

Just to clerify