BIS fnc removeCommMenuItem: Difference between revisions
Lou Montana (talk | contribs) m (Text replacement - " \| *(\[\[[a-zA-Z ]+\]\].+)  \|x1=" to " |r1=$1  |x1=")  | 
				Lou Montana (talk | contribs)  m (Text replacement - " \| *(\[[^ ]+\] (call|spawn) ('''|\[\[)BI(N|S)_fnc_[a-zA-Z0-9_]+('''|\]\]));?  \| *p1 *=" to " |s1=$1  |p1=")  | 
				||
| Line 9: | Line 9: | ||
| Remove an item from the [[Arma_3_Communication_Menu|communication menu]].  | | Remove an item from the [[Arma_3_Communication_Menu|communication menu]].  | ||
| [owner,itemID] call [[BIS_fnc_removeCommMenuItem]]  | |s1=[owner,itemID] call [[BIS_fnc_removeCommMenuItem]]  | ||
|p1= '''owner''': [[Object]] - object to which the item belongs to  | |p1= '''owner''': [[Object]] - object to which the item belongs to  | ||
Revision as of 19:30, 12 June 2021
Description
- Description:
 - Description needed
 - Execution:
 - call
 - Groups:
 - 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
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