uiSleep: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " \{\{GameCategory *\| *arma2 *\| *(New )?Scripting Commands\}\}" to "")
m (Text replacement - "</dd> </dl>" to "</dd> </dl>")
Line 38: Line 38:
If the game is paused in SP (via ESC) the sleep command will stop working, to prevent that use uiSleep.
If the game is paused in SP (via ESC) the sleep command will stop working, to prevent that use uiSleep.
</dd>
</dd>
</dl>
</dl>

Revision as of 17:10, 13 June 2021

Hover & click on the images for description

Description

Description:
Description needed
Groups:
Program Flow

Syntax

Syntax:
uiSleep delay
Parameters:
delay : Number
Return Value:
Nothing

Examples

Example 1:
uiSleep 0.5

Additional Information

See also:
sleepwaitUntilcanSuspendspawnexecVMControl Structuressleep vs uiSleep

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note
Posted on March 28, 2016 - 10:40 (UTC)
R3vo
If the game is paused in SP (via ESC) the sleep command will stop working, to prevent that use uiSleep.