BIS fnc addCommMenuItem: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "{{Function " to "{{RV|type=function ") |
Lou Montana (talk | contribs) m (Text replacement - " " to " ") |
||
Line 32: | Line 32: | ||
| [[BIS_fnc_removeCommMenuItem]], [[Arma_3_Communication_Menu]] | | [[BIS_fnc_removeCommMenuItem]], [[Arma_3_Communication_Menu]] | ||
}} | }} | ||
[[Category:Functions|{{uc:addCommMenuItem}}]] | [[Category:Functions|{{uc:addCommMenuItem}}]] | ||
[[Category:{{Name|arma3}}: Functions|{{uc:addCommMenuItem}}]] | [[Category:{{Name|arma3}}: Functions|{{uc:addCommMenuItem}}]] |
Revision as of 21:52, 31 January 2021
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