Fandom

武装突袭 Wiki

BIS_fnc_addCommMenuItem

简体 | 繁體

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

您使用了广告屏蔽软件!


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

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

Introduced with Arma 3 version 0.50
  Effects of this scripting function are not broadcasted over the network and remain local to the client the function is executed on

Click on the images for descriptions

Introduced in

Game:
Arma 3
Version:
0.50

Description

Description:
Add communication menu to the given unit.

The item will be available in the Communication menu and visualized in comm menu icon area.

Syntax

Syntax:
[owner,itemClass,textArguments,expressionArguments,notification] call BIS_fnc_addCommMenuItem;
Parameters:
owner: Object - object to which the item belongs to

itemClass: String - CfgCommunicationMenu class

textArguments (Optional): Any

expressionArguments (Optional): Any

notification (Optional): String - notification class from CfgNotifications. Empty string will disabled the notification.
Return Value:
Number - item ID, used in BIS_fnc_removeCommMenuItem

Examples

Example 1:
_supportHeli = [player,"Support_Request_CAS_Heli"] call BIS_fnc_addCommMenuItem; _supportHeli = [player,"Support_Request_CAS_Heli",nil,nil,""] call BIS_fnc_addCommMenuItem; // don't show notification

Additional Information

Execution:
call
Multiplayer:
-
See also:

BIS_fnc_removeCommMenuItemArma_3_Communication_Menu

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

Notes

Bottom Section

更多维基

随机维基