BIS fnc showNotification: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " " to " ")
m (Text replacement - " \| (\[\[[a-zA-Z ]+\]\]) \|x1=" to " |r1=$1 |x1=")
Line 14: Line 14:
|p2= '''arguments''': [[Array]] - additional arguments passed to the template (default: [])
|p2= '''arguments''': [[Array]] - additional arguments passed to the template (default: [])


| [[Boolean]]
|r1=[[Boolean]]


|x1= <code>["TaskSucceeded",["","Disable the nuke"]] [[call]] [[BIS_fnc_showNotification]];</code>
|x1= <code>["TaskSucceeded",["","Disable the nuke"]] [[call]] [[BIS_fnc_showNotification]];</code>

Revision as of 22:16, 10 June 2021

Hover & click on the images for description

Description

Description:
Description needed
Execution:
call
Groups:
GUI

Syntax

Syntax:
Syntax needed
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