BIS fnc showNotification: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "|= Game name" to "|Game name=")
m (Text replacement - "|= |p2=" to "|Parameter1= |p2=")
Line 14: Line 14:
| [template,(arguments)] call [[BIS_fnc_showNotification]]; |SYNTAX=
| [template,(arguments)] call [[BIS_fnc_showNotification]]; |SYNTAX=


|p1= '''template''': [[String]] - notification template from ''CfgNotifications'' |=
|p1= '''template''': [[String]] - notification template from ''CfgNotifications'' |Parameter1=
|p2= '''arguments''': [[Array]] - additional arguments passed to the template (default: []) |=
|p2= '''arguments''': [[Array]] - additional arguments passed to the template (default: []) |=



Revision as of 01:11, 3 September 2019

Hover & click on the images for description

Description

Description:
Show Notification.
Execution:
call
Groups:
Uncategorised

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

Notes

Bottom Section