BIS fnc removeCommMenuItem: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Generated by BIS_fnc_exportFunctionsToWiki)
 
m (Created page with "{{Function|= Comments ____________________________________________________________________________________________ | arma3 |= Game name |0.50|= Game version |eff= local |= ___...")
Line 1: Line 1:
{{Function|= Comments
{{Function|= Comments
____________________________________________________________________________________________
____________________________________________________________________________________________
Line 5: Line 4:
| arma3 |= Game name
| arma3 |= Game name


|1.00|= Game version
|0.50|= Game version
 
|eff= local |=
____________________________________________________________________________________________
____________________________________________________________________________________________


| <pre>/*
| Remove an item from the [[Arma_3_Communication_Menu|communication menu]].|= Description
 
Description:
Remove an item from the communication menu
 
Parameter(s):
0: OBJECT - object to which the item belongs to
1: NUMBER - item ID returned by BIS_fnc_addCommMenuItem command
 
Returns:
BOOL - true when the item was removed
*/
</pre><small>''(Placeholder description extracted from the function header by [[BIS_fnc_exportFunctionsToWiki]])''</small> |= Description
____________________________________________________________________________________________
____________________________________________________________________________________________


| <!-- [] call [[BIS_fnc_removeCommMenuItem]]; --> |= Syntax
| [owner,itemID] spawn BIS_fnc_removeCommMenuItem; |= Syntax


|p1= |= Parameter 1
|p1= '''owner''': [[Object]] - object to which the item belongs to |=
|p2= '''itemID''': [[Number]] - item ID returned by [[BIS_fnc_addCommMenuItem]] command |=


| |= Return value
| [[Boolean]] - true when the item was removed |= Return value
____________________________________________________________________________________________
____________________________________________________________________________________________
 
 
|x1= <code></code> |=  
|x1= <code>[player,2] call BIS_fnc_removeCommMenuItem;</code> |=
____________________________________________________________________________________________
____________________________________________________________________________________________


| |= See also
| [[Arma 3 Communication Menu]] |= See also


}}
}}
Line 45: Line 35:


<h3 style="display:none">Bottom Section</h3>
<h3 style="display:none">Bottom Section</h3>
[[Category:Function Group: Misc|{{uc:removeCommMenuItem}}]]
 
[[Category:Functions|{{uc:removeCommMenuItem}}]]
[[Category:Arma 3:_Functions|removeCommMenuItem]]
[[Category:{{Name|arma3}}: Functions|{{uc:removeCommMenuItem}}]]

Revision as of 07:53, 16 May 2013

Hover & click on the images for description

Description

Description:
Remove an item from the communication menu.
Execution:
call
Groups:
Uncategorised

Syntax

Syntax:
[owner,itemID] spawn 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;

Additional Information

See also:
Arma 3 Communication Menu

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

Notes

Bottom Section