BIS fnc showNotification: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " +" to " ")
m (Text replacement - " \| *(\[[^ ]+\] (call|spawn) ('''|\[\[)BI(N|S)_fnc_[a-zA-Z0-9_]+('''|\]\]));? \| *p1 *=" to " |s1=$1 |p1=")
Line 9: Line 9:
|eff= local| Show [[Notification]].
|eff= local| Show [[Notification]].


| [template,(arguments)] call [[BIS_fnc_showNotification]];
|s1=[template,(arguments)] call [[BIS_fnc_showNotification]]


|p1= '''template''': [[String]] - notification template from ''CfgNotifications''
|p1= '''template''': [[String]] - notification template from ''CfgNotifications''

Revision as of 20:31, 12 June 2021

Hover & click on the images for description

Description

Description:
Description needed
Execution:
call
Groups:
GUI

Syntax

Syntax:
[template,(arguments)] call BIS_fnc_showNotification
Parameters:
template: String - notification template from CfgNotifications
arguments: Array - additional arguments passed to the template (default: [])
Return Value:
Boolean

Examples

Example 1:
["TaskSucceeded",["","Disable the nuke"]] call BIS_fnc_showNotification;
Example 2:
["ScoreAdded",["Disabled the nuke without triggering an alarm.",5]] call BIS_fnc_showNotification;

Additional Information

See also:
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