BIS fnc showNotification: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " \[\[Category:\{\{Name\|arma3\}\}:[_ ]Functions\|[^ ]+\]\]" to "")
m (Text replacement - "\| *(arg|eff|mp|serverExec|gr[0-9]) *= *(.*) * *\|([^=]{12})" to "|$1=$2 |descr=$3")
Line 7: Line 7:
|gr1= GUI
|gr1= GUI


|eff= local| Show [[Notification]].
|eff= local
 
|descr= Show [[Notification]].


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

Revision as of 21:53, 13 June 2021

Hover & click on the images for description

Description

Description:
Show Notification.
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