uiSleep: Difference between revisions
Jump to navigation
Jump to search
Skaronator (talk | contribs) No edit summary |
Killzone Kid (talk | contribs) No edit summary |
||
Line 17: | Line 17: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
|x1 = <code> '''uiSleep''' 0.5 </code> | |x1 = <code> '''uiSleep''' 0.5 </code> | ||
| [[Control Structures]], [[sleep]] |= See also | | [[sleep vs uiSleep]], [[Control Structures]], [[sleep]] |= See also | ||
}} | }} |
Revision as of 14:33, 29 May 2015
Description
- Description:
- 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.
- Groups:
- Uncategorised
Syntax
Examples
- Example 1:
uiSleep 0.5
Additional Information
- See also:
- sleep vs uiSleepControl Structuressleep
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