BIS fnc showNotification: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\[\[Category\:Function Group\: GUI(\|\{\{[a-zA-Z0-9_:]+\}\})?\]\]" to "")
m (Text replacement - "_{10,} " to "")
Line 1: Line 1:
{{Function|Comments=
{{Function|Comments=
____________________________________________________________________________________________


| arma3 |Game name=
| arma3 |Game name=
Line 9: Line 8:


|eff= local |MPEFFECTS=
|eff= local |MPEFFECTS=
____________________________________________________________________________________________


| Show [[Notification]]. |DESCRIPTION=
| Show [[Notification]]. |DESCRIPTION=
____________________________________________________________________________________________


| [template,(arguments)] call [[BIS_fnc_showNotification]]; |SYNTAX=
| [template,(arguments)] call [[BIS_fnc_showNotification]]; |SYNTAX=
Line 20: Line 17:


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


|x2= <code>["ScoreAdded",["Disabled the nuke without triggering an alarm.",5]] [[call]] [[BIS_fnc_showNotification]];</code> |Example2=
|x2= <code>["ScoreAdded",["Disabled the nuke without triggering an alarm.",5]] [[call]] [[BIS_fnc_showNotification]];</code> |Example2=
____________________________________________________________________________________________


| [[Notification]] |SEEALSO=
| [[Notification]] |SEEALSO=

Revision as of 23:52, 16 January 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

Notes

Bottom Section