BIS fnc removeCommMenuItem: Difference between revisions
Jump to navigation
Jump to search
m (1 revision) |
mNo edit summary |
||
Line 38: | Line 38: | ||
<h3 style="display:none">Bottom Section</h3> | <h3 style="display:none">Bottom Section</h3> | ||
[[Category:Function Group: Misc|{{uc:removeCommMenuItem}}]] | |||
[[Category: | [[Category:Functions|{{uc:removeCommMenuItem}}]] | ||
[[Category:{{Name|arma3}}: Functions|{{uc:removeCommMenuItem}}]] |
Revision as of 10:50, 28 July 2014
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
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