武装突袭 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