BIS fnc addCommMenuItem: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " {2,}\}\}" to " }}")
m (Text replacement - "{{Function " to "{{RV|type=function ")
Line 1: Line 1:
{{Function
{{RV|type=function


| arma3
| arma3

Revision as of 02:10, 23 January 2021

Hover & click on the images for description

Description

Description:
Description needed
Execution:
call
Groups:
Communication Menu

Syntax

Syntax:
Syntax needed
Parameters:
owner: Object - object to which the item belongs to
itemClass: String - CfgCommunicationMenu class
textArguments (Optional): Any
expressionArguments (Optional): Any
notification (Optional): String - notification class from CfgNotifications. Empty string will disabled the notification.
Return Value:
Return value needed

Examples

Example 1:
_supportHeli = [player,"Support_Request_CAS_Heli"] call BIS_fnc_addCommMenuItem; _supportHeli = [player,"Support_Request_CAS_Heli",nil,nil,""] call BIS_fnc_addCommMenuItem; // don't show notification

Additional Information

See also:
See also needed

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