Fandom

武装突袭 Wiki

BIS_fnc_spawn

简体 | 繁體

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

您使用了广告屏蔽软件!


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

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

Introduced with Arma 3 version 0.56
  

Click on the images for descriptions

Introduced in

Game:
Arma 3
Version:
0.56

Description

Description:
Execute given code with or without parameter.

Syntax

Syntax:
[params, code] spawn BIS_fnc_spawn;
Parameters:
params: Anything - function arguments

code: Code - function code
Return Value:
Nothing

Alternative Syntax

Syntax:
code spawn BIS_fnc_spawn;
Parameters:
code: Code
Return Value:
Nothing

Examples

Example 1:
Show a message for the current player. [["Hello"], {hint (_this select 0);}] spawn BIS_fnc_spawn;

Example 2:
Show a message to all connected players. [[["Hello"], {hint (_this select 0);}], "BIS_fnc_spawn", true, false, false] call BIS_fnc_MP;

Example 3:
Alternative syntax {hint "Hello";} spawn BIS_fnc_spawn;

Additional Information

Execution:
spawn
Multiplayer:
-
See also:

BIS_fnc_execFSMBIS_fnc_execRemoteBIS_fnc_execVMBIS_fnc_call

Notes

Only post proven facts here. Report bugs on the feedback tracker. Use the talk page or the forums for discussions.
Add New Note | How To

Bottom Section

更多维基

随机维基