BIS_fnc_removeCommMenuItem

From Bohemia Interactive Community
Jump to navigation Jump to search
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:
Remove an item from the communication menu.

Syntax

Syntax:
[owner,itemID] call BIS_fnc_removeCommMenuItem;
Parameters:
owner: Object - object to which the item belongs to
itemID: Number - item ID returned by BIS_fnc_addCommMenuItem command
Return Value:
Boolean - true when the item was removed

Examples

Example 1:
[player,2] call BIS_fnc_removeCommMenuItem;
Example 2:
_supportHeli = [player,"Support_Request_CAS_Heli"] call BIS_fnc_addCommMenuItem; [player,_supportHeli] call BIS_fnc_removeCommMenuItem;

Additional Information

Execution:
call
Multiplayer:
-
See also:
BIS_fnc_addCommMenuItemArma 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