BIS fnc 3DENNotification: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\| *game([0-9]) *= *[aA]rma +3 * " to "|game$1= arma3 ")
m (Text replacement - "\|s([0-9])= ([^ ]+) (\[\[call\]\]) ([^ ]+) " to "|s$1= $2 call $4 ")
Line 12: Line 12:
|descr= Shows notification in the [[Eden Editor]].
|descr= Shows notification in the [[Eden Editor]].


|s1= [text, type, duration, animate] [[call]] [[BIS_fnc_3DENNotification]]
|s1= [text, type, duration, animate] call [[BIS_fnc_3DENNotification]]


|p1= text: [[String]] - Either text or class from <tt>Cfg3DEN >> Notifications</tt>
|p1= text: [[String]] - Either text or class from <tt>Cfg3DEN >> Notifications</tt>

Revision as of 18:18, 20 June 2021

Hover & click on the images for description

Description

Description:
Shows notification in the Eden Editor.
Execution:
call
Groups:
Eden Editor

Syntax

Syntax:
[text, type, duration, animate] call BIS_fnc_3DENNotification
Parameters:
text: String - Either text or class from Cfg3DEN >> Notifications
type: Number - (Optional, default 0) 0: Notification (Green) 1: Warning (Red)
duration: Number - (Optional, default 2) Duration in seconds (+ 1 sec for each new line)
animate: Boolean - (Optional, default true) Toggle animation
Return Value:
Number - Selected Mode

Examples

Example 1:
["This is an animated notification", 0] call BIS_fnc_3DENNotification;
Example 2:
["This is a warning that is not animated", 1, 2, false] call BIS_fnc_3DENNotification;

Additional Information

See also:
Eden Editor BIS_fnc_3DENShowMessage

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