From Bohemia Interactive Community
|
|
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}}}}]]
| |
Revision as of 20:44, 14 February 2012