BIS fnc showNotification: Difference between revisions
Jump to navigation
Jump to search
m (Generated by BIS_fnc_exportFunctionsToWiki) |
m (Created page with "{{Function|= Comments ____________________________________________________________________________________________ | arma3 |= Game name |0.50|= Game version |eff= local |= ___...") |
||
Line 1: | Line 1: | ||
{{Function|= Comments | {{Function|= Comments | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
Line 5: | Line 4: | ||
| arma3 |= Game name | | arma3 |= Game name | ||
| | |0.50|= Game version | ||
|eff= local |= | |||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| | | Show [[Notification]]. |= Description | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| | | [template,(arguments)] spawn BIS_fnc_showNotification; |= Syntax | ||
|p1= |= | |p1= '''template''': [[String]] - notification template from ''CfgNotifications'' |= | ||
|p2= '''arguments''': [[Array]] - additional arguments passed to the template (default: []) |= | |||
| |= Return value | | [[Boolean]] |= Return value | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
|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> |= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| |= See also | | [[Notification]] |= See also | ||
}} | }} | ||
Line 49: | Line 37: | ||
<h3 style="display:none">Bottom Section</h3> | <h3 style="display:none">Bottom Section</h3> | ||
[[Category: | |||
[[Category: | [[Category:Arma 3:_Functions|endMission]] | ||
[[Category:Function Group: Missions|endMission]] |
Revision as of 13:51, 25 March 2013
Description
- Description:
- Show Notification.
- Execution:
- call
- Groups:
- Uncategorised
Syntax
- Syntax:
- [template,(arguments)] spawn 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