BIS fnc showNotification: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "|eff= local |= " to "|eff= local |MPEFFECTS= ") |
mNo edit summary |
||
Line 15: | Line 15: | ||
|p1= '''template''': [[String]] - notification template from ''CfgNotifications'' |Parameter1= | |p1= '''template''': [[String]] - notification template from ''CfgNotifications'' |Parameter1= | ||
|p2= '''arguments''': [[Array]] - additional arguments passed to the template (default: []) |= | |p2= '''arguments''': [[Array]] - additional arguments passed to the template (default: []) |Parameter2= | ||
| [[Boolean]] |RETURNVALUE= | | [[Boolean]] |RETURNVALUE= | ||
Line 22: | Line 22: | ||
|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> |= | |x2= <code>["ScoreAdded",["Disabled the nuke without triggering an alarm.",5]] [[call]] [[BIS_fnc_showNotification]];</code> |Example2= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
Revision as of 21:51, 24 September 2020
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