BIS fnc showNotification: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
m (template:command argument fix)
Line 9: Line 9:
____________________________________________________________________________________________
____________________________________________________________________________________________


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


| [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'' |=
|p2= '''arguments''': [[Array]] - additional arguments passed to the template (default: []) |=
|p2= '''arguments''': [[Array]] - additional arguments passed to the template (default: []) |=


| [[Boolean]] |= Return value
| [[Boolean]] |RETURNVALUE=
____________________________________________________________________________________________
____________________________________________________________________________________________
   
   
Line 25: Line 25:
____________________________________________________________________________________________
____________________________________________________________________________________________


| [[Notification]] |= See also
| [[Notification]] |SEEALSO=


}}
}}

Revision as of 15:33, 7 April 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