BIS fnc addCommMenuItem: 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 14: | Line 14: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| [owner,itemClass] | | [owner,itemClass] call [[BIS_fnc_addCommMenuItem]]; |= Syntax | ||
|p1= '''owner''': [[Object]] - object to which the item belongs to |= | |p1= '''owner''': [[Object]] - object to which the item belongs to |= | ||
Line 22: | Line 22: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
|x1= <code>_supportHeli = [player,"Support_Request_CAS_Heli"] call BIS_fnc_addCommMenuItem;</code> |= | |x1= <code>_supportHeli = <nowiki>[</nowiki>[[player]],"Support_Request_CAS_Heli"] [[call]] [[BIS_fnc_addCommMenuItem]];</code> |= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| [[Arma 3 Communication_Menu]] |= See also | | [[BIS_fnc_removeCommMenuItem]], [[Arma 3 Communication_Menu]] |= See also | ||
}} | }} |
Revision as of 08:22, 12 August 2013
Description
- Description:
- Add communication menu to the given unit. The item will be available in the Communication menu and visualized in comm menu icon area.
- Execution:
- call
- Groups:
- Uncategorised
Syntax
- Syntax:
- [owner,itemClass] call BIS_fnc_addCommMenuItem;
- Parameters:
- owner: Object - object to which the item belongs to
- itemClass: String - CfgCommunicationMenu class
- Return Value:
- Number - item ID, used in BIS_fnc_removeCommMenuItem
Examples
- Example 1:
_supportHeli = [player,"Support_Request_CAS_Heli"] call BIS_fnc_addCommMenuItem;
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