Jump to navigation Jump to search
Revision as of 01:15, 17 February 2021 by Lou Montana (Text replacement - "\| *((\[\[[a-zA-Z0-9_ |()]+\]\],? ?)+) * \}\}" to "|seealso= $1 }}")
- Suspend execution of script for given uitime. uiSleep is a sleep method to delay script execution where script time/simulation time is stopped. uiSleep is basically using the system time (uiTime more specifically) and not simulation time. So in the cases where sleep command would get stuck indefinitely, uiSleep can still be used to effectively delay script execution. For example in a mission briefing or an editor or when simulation is paused in general.
- Example 1:
- See also:
- sleepwaitUntilcanSuspendspawnexecVMControl Structuressleep vs uiSleep
- Program Flow
- Posted on March 28, 2016 - 10:40 (UTC)
- If the game is paused in SP (via ESC) the sleep command will stop working, to prevent that use uiSleep.