BIS fnc removeCommMenuItem: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " " to " ") |
Lou Montana (talk | contribs) m (Text replacement - " \| *(\[\[[a-zA-Z ]+\]\].+) \|x1=" to " |r1=$1 |x1=") |
||
Line 14: | Line 14: | ||
|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 | |r1=[[Boolean]] - true when the item was removed | ||
|x1= <code>[player,2] [[call]] [[BIS_fnc_removeCommMenuItem]];</code> | |x1= <code>[player,2] [[call]] [[BIS_fnc_removeCommMenuItem]];</code> |
Revision as of 20:25, 10 June 2021
Description
- Description:
- Description needed
- Execution:
- call
- Groups:
- Communication Menu
Syntax
- Syntax:
- Syntax needed
- 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