BIS fnc showNotification: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\[\[[cC]ategory:[fF]unctions\|\{\{uc:[a-z A-Z_]*\}\}\]\]" to "")
m (Text replacement - "\| *((\[\[[a-zA-Z0-9_ :\\\-\/|()]+\]\],? ?)+) * \}\}" to "|seealso= $1 }}")
Line 20: Line 20:
|x2= <code>["ScoreAdded",["Disabled the nuke without triggering an alarm.",5]] [[call]] [[BIS_fnc_showNotification]];</code>
|x2= <code>["ScoreAdded",["Disabled the nuke without triggering an alarm.",5]] [[call]] [[BIS_fnc_showNotification]];</code>


| [[Notification]]
|seealso= [[Notification]]
}}
}}



Revision as of 01:36, 17 February 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:
Return value needed

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