BIS fnc showNotification: Difference between revisions
Jump to navigation
Jump to search
Killzone Kid (talk | contribs) No edit summary |
BiswMurray (talk | contribs) (The code for a 'TaskSucceeded' popup was incorrect. For some reason, the popup text must be the second argument.) |
||
Line 20: | Line 20: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
|x1= <code>["TaskSucceeded",["Disable the nuke"]] [[call]] [[BIS_fnc_showNotification]];</code> |= | |x1= <code>["TaskSucceeded",["","Disable the nuke"]] [[call]] [[BIS_fnc_showNotification]];</code> |= | ||
|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> |= |
Revision as of 18:32, 3 March 2014
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