BIS fnc removeCommMenuItem: Difference between revisions
Jump to navigation
Jump to search
m (Created page with "{{Function|= Comments ____________________________________________________________________________________________ | arma3 |= Game name |0.50|= Game version |eff= local |= ___...") |
Killzone Kid (talk | contribs) No edit summary |
||
Line 12: | Line 12: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| [owner,itemID] | | [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 |= | ||
Line 20: | Line 20: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
|x1= <code>[player,2] call BIS_fnc_removeCommMenuItem;</code> |= | |x1= <code>[player,2] [[call]] [[BIS_fnc_removeCommMenuItem]];</code> |= | ||
|x2= <code>_supportHeli = <nowiki>[</nowiki>[[player]],"Support_Request_CAS_Heli"] [[call]] [[BIS_fnc_addCommMenuItem]]; | |||
<nowiki>[</nowiki>[[player]],_supportHeli] [[call]] [[BIS_fnc_removeCommMenuItem]];</code> |= | |||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| [[Arma 3 Communication Menu]] |= See also | | [[BIS_fnc_addCommMenuItem]], [[Arma 3 Communication Menu]] |= See also | ||
}} | }} |
Revision as of 08:32, 12 August 2013
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