BIS fnc showNotification: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
m (template:command argument fix) |
||
Line 9: | Line 9: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| Show [[Notification]]. |= | | Show [[Notification]]. |DESCRIPTION= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| [template,(arguments)] call [[BIS_fnc_showNotification]]; |= | | [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]] |= | | [[Boolean]] |RETURNVALUE= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
Line 25: | Line 25: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| [[Notification]] |= | | [[Notification]] |SEEALSO= | ||
}} | }} |
Revision as of 14:33, 7 April 2019
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