BIS fnc showNotification: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "(Optional, default [])" to "(Optional, default {{hl|[]}})") |
Lou Montana (talk | contribs) m (Text replacement - "(Optional, default {{hl|[]}})" to "(Optional, default <sqf inline>[]</sqf>)") |
||
Line 14: | Line 14: | ||
|p1= '''template''': [[String]] - notification class name from {{hl|CfgNotifications}} | |p1= '''template''': [[String]] - notification class name from {{hl|CfgNotifications}} | ||
|p2= '''arguments''': [[Array]] - (Optional, default | |p2= '''arguments''': [[Array]] - (Optional, default <sqf inline>[]</sqf>) additional [[format]] arguments to fill notification's fields ({{hl|title}}, {{hl|description}}, {{hl|iconPicture}}, {{hl|iconText}}, {{hl|soundRadio}}) | ||
|r1= [[Boolean]] | |r1= [[Boolean]] |
Revision as of 18:09, 8 November 2023
Description
- Description:
- Show a config-defined notification.
- Execution:
- call
- Groups:
- GUI
Syntax
- Syntax:
- [template, arguments] call BIS_fnc_showNotification
- Parameters:
- template: String - notification class name from CfgNotifications
- arguments: Array - (Optional, default []) additional format arguments to fill notification's fields (title, description, iconPicture, iconText, soundRadio)
- Return Value:
- Boolean
Examples
- Example 1:
- Example 2:
- ["ScoreAdded", ["Disabled the nuke without triggering an alarm.", 5]] call BIS_fnc_showNotification;
Additional Information
- See also:
- Arma 3: Notification
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