BIS fnc removeCommMenuItem: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "\| *(arg|eff|mp|serverExec|gr[0-9]) *= *(.*) * *\|([^=]{12})" to "|$1=$2 |descr=$3") |
Lou Montana (talk | contribs) m (Some wiki formatting) |
||
(6 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{RV|type=function | {{RV|type=function | ||
| arma3 | |game1= arma3 | ||
|version1= 0.50 | |||
|0.50 | |||
|eff= local|gr1= Communication Menu | |eff= local|gr1= Communication Menu | ||
Line 9: | Line 8: | ||
|descr= Remove an item from the [[Arma_3_Communication_Menu|communication menu]]. | |descr= Remove an item from the [[Arma_3_Communication_Menu|communication menu]]. | ||
|s1=[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 | ||
|p2= '''itemID''': [[Number]] - item ID returned by [[BIS_fnc_addCommMenuItem]] command | |p2= '''itemID''': [[Number]] - item ID returned by [[BIS_fnc_addCommMenuItem]] command | ||
|r1=[[Boolean]] - true when the item was removed | |r1= [[Boolean]] - true when the item was removed | ||
|x1= < | |x1= <sqf>[player, 2] call BIS_fnc_removeCommMenuItem;</sqf> | ||
|x2= < | |x2= <sqf> | ||
private _supportHeli = [player, "Support_Request_CAS_Heli"] call BIS_fnc_addCommMenuItem; | |||
[player, _supportHeli] call BIS_fnc_removeCommMenuItem; | |||
</sqf> | |||
|seealso= [[BIS_fnc_addCommMenuItem]] | |seealso= [[BIS_fnc_addCommMenuItem]] [[Arma 3: Communication Menu]] | ||
}} | }} |
Latest revision as of 12:39, 13 July 2022
Description
- Description:
- Remove an item from the communication menu.
- 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:
- Example 2:
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