uisleep: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
m (Text replacement - "#redirect " to "#REDIRECT ")
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
{{Command|= Comments
#REDIRECT [[uiSleep]]
____________________________________________________________________________________________
 
| arma2 |= Game name
 
|1.05|= Game version
____________________________________________________________________________________________
 
| 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.  |= Description
____________________________________________________________________________________________
 
| '''uiSleep''' delay |= Syntax
 
|p1= delay : [[Number]] |= Parameter 1
 
| [[Nothing]] |= Return value
____________________________________________________________________________________________
|x1 = <code> '''uiSleep''' 0.5 </code>
|  |= See also
 
}}
 
<h3 style="display:none">Notes</h3>
<dl class="command_description">
<!-- Note Section BEGIN -->
<!-- Note Section END -->
</dl>
 
<h3 style="display:none">Bottom Section</h3>
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands ArmA2|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting_Commands_Take_On_Helicopters|{{uc:{{PAGENAME}}}}]]
[[Category:ArmA 2: New Scripting Commands List|{{uc:{{PAGENAME}}}}]]

Latest revision as of 08:18, 30 December 2020

Redirect to: