BIS fnc removeCommMenuItem: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
m (template:command argument fix)
Line 9: Line 9:
____________________________________________________________________________________________
____________________________________________________________________________________________


| Remove an item from the [[Arma_3_Communication_Menu|communication menu]].|= Description
| Remove an item from the [[Arma_3_Communication_Menu|communication menu]].|DESCRIPTION=
____________________________________________________________________________________________
____________________________________________________________________________________________


| [owner,itemID] call [[BIS_fnc_removeCommMenuItem]]; |= Syntax
| [owner,itemID] call [[BIS_fnc_removeCommMenuItem]]; |SYNTAX=


|p1= '''owner''': [[Object]] - object to which the item belongs to |=
|p1= '''owner''': [[Object]] - object to which the item belongs to |=
|p2= '''itemID''': [[Number]] - item ID returned by [[BIS_fnc_addCommMenuItem]] command |=
|p2= '''itemID''': [[Number]] - item ID returned by [[BIS_fnc_addCommMenuItem]] command |=


| [[Boolean]] - true when the item was removed |= Return value
| [[Boolean]] - true when the item was removed |RETURNVALUE=
____________________________________________________________________________________________
____________________________________________________________________________________________
   
   
Line 26: Line 26:
____________________________________________________________________________________________
____________________________________________________________________________________________


| [[BIS_fnc_addCommMenuItem]], [[Arma 3 Communication Menu]] |= See also
| [[BIS_fnc_addCommMenuItem]], [[Arma 3 Communication Menu]] |SEEALSO=


}}
}}

Revision as of 14:32, 7 April 2019

Hover & click on the images for description

Description

Description:
Remove an item from the communication menu.
Execution:
call
Groups:
Uncategorised

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

See also:
BIS_fnc_addCommMenuItemArma 3 Communication Menu

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note

Notes

Bottom Section