Fandom

武装突袭 Wiki

OnPreloadFinished

简体 | 繁體

4,827个页面创建
于此维基上
添加新页面
评论0 Share

您使用了广告屏蔽软件!


Wikia通过广告运营为用户提供免费的服务。我们对用户通过嵌入广告屏蔽软件访问网站进行了使用调整。

如果您使用了广告屏蔽软件,将无法使用我们的服务。请您移除广告屏蔽软件,以确保页面正常加载。

  

点击图片可看到更多讯息

开始使用于

游戏:
Arma 2
版本:
1.00

描述

描述:
Defines an action performed after the preload screen finished.

i Since Arma 3 v1.57 a stackable version of this EH is available: PreloadFinished
Arma 3 logo black.png In order to keep compatibility between official and community content the functions BIS_fnc_addStackedEventHandler and BIS_fnc_removeStackedEventHandler should be used instead.

基本句法

句法:
onPreloadFinished command
参数:
command: String or Code
返回值:
Nothing

范例

范例1:
onPreloadFinished 'TAG_ReceivingScreenDone = true;';

范例2:
//removes the event immediately after the first run again onPreloadFinished {TAG_ReceivingScreenDone = true; onPreloadFinished {};};

额外资讯

多人游戏:
-
也可以看看:

onPreloadStarted

注意事项

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

Notes

Posted on July 24, 2009
Tophe
There is a bug in Arma2 that will make this command execute every time the screen with "Receiving..." has been displayed.
If this code is put in the Init.sqf it will run the startcam.sqf script when the loading screen has disappeared

onPreloadFinished '[fire1] execVM "scripts\startcam.sqf"';

It will however also run every time a player change graphics settings, alt-tab or do anything else that will trigger the loading screen.
You will have to script around it with if statements to get it to run only in the beginning of the mission.

Bottom Section

更多维基

随机维基