BIS fnc showNotification: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Created page with "{{Function|= Comments ____________________________________________________________________________________________ | arma3 |= Game name |0.50|= Game version |eff= local |= ___...")
No edit summary
Line 12: Line 12:
____________________________________________________________________________________________
____________________________________________________________________________________________


| [template,(arguments)] spawn 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'' |=
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> |=
____________________________________________________________________________________________
____________________________________________________________________________________________


Line 38: Line 38:
<h3 style="display:none">Bottom Section</h3>
<h3 style="display:none">Bottom Section</h3>


[[Category:Arma 3:_Functions|endMission]]
[[Category:Arma 3:_Functions|showNotification]]
[[Category:Function Group: Missions|endMission]]
[[Category:Function Group: Missions|endMission]]

Revision as of 09:40, 12 August 2013

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