武装突袭 Wiki
Advertisement
  

点击图片可看到更多讯息

开始使用于

游戏:
Arma 2
版本:
1.05

描述

描述:
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.

基本句法

句法:
uiSleep delay
参数:
delay : Number
返回值:
Nothing

范例

范例1:
uiSleep 0.5

额外资讯

多人游戏:
-
也可以看看:
sleepwaitUntilcanSuspendspawnexecVMControl Structuressleep vs uiSleep

注意事项

此处撰写句法皆为可行用法. 可到官网[1]专页回报错误. 你可以使用讨论页面或是论坛来进行讨论.
新增注意事项 | 如何新增?

Notes

Bottom Section

Posted on March 28, 2016 - 10:40 (UTC)
Revo
If the game is paused in SP (via ESC) the sleep command will stop working, to prevent that use uiSleep.
Advertisement