Fandom

武装突袭 Wiki

BIS_fnc_call

简体 | 繁體

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

您使用了广告屏蔽软件!


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

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

Introduced with Arma 3 version 0.50
  

Click on the images for descriptions

Introduced in

Game:
Arma 3
Version:
0.50

Description

Description:
Execute given code with or without parameter.

Syntax

Syntax:
[params, code] call BIS_fnc_call;
Parameters:
params: Anything - function arguments

code: Code - function code
Return Value:
Anything

Alternative Syntax

Syntax:
code call BIS_fnc_call;
Parameters:
code: Code
Return Value:
Anything

Examples

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

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

Example 3:
Alternative syntax {hint "Hello";} call BIS_fnc_call;

Additional Information

Execution:
call
Multiplayer:
-
See also:

BIS_fnc_spawnBIS_fnc_execVMBIS_fnc_execFSMBIS_fnc_execRemote

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

Posted on November 30, 2014 - 02:22 (UTC)
Strangepete
As of writing (ver. 1.37) BIS_fnc_call is only a wrapper for BIS_fnc_spawn. Both functions use call to execute the code.

更多维基

随机维基