BIS fnc showNotification: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "<code>([^<]*)\[\[([a-zA-Z][a-zA-Z0-9_]+)\]\]([^<]*) *<\/code>" to "<code>$1$2$3</code>") |
Lou Montana (talk | contribs) m (Text replacement - "<code> *([^<|{]*) *<\/code>" to "<sqf>$1</sqf>") |
||
Line 18: | Line 18: | ||
|r1= [[Boolean]] | |r1= [[Boolean]] | ||
|x1= < | |x1= <sqf>["TaskSucceeded", ["", "Disable the nuke"]] call BIS_fnc_showNotification;</sqf> | ||
|x2= < | |x2= <sqf>["ScoreAdded", ["Disabled the nuke without triggering an alarm.", 5]] call BIS_fnc_showNotification;</sqf> | ||
|seealso= [[Arma 3: Notification]] | |seealso= [[Arma 3: Notification]] | ||
}} | }} |
Revision as of 22:44, 12 July 2022
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