BIS fnc 3DENNotification: Difference between revisions
Jump to navigation
Jump to search
(formatting) |
(formatting) |
||
Line 21: | Line 21: | ||
|p3= duration: [[Number]] - (Optional, default 2) Duration in seconds (+ 1 sec for each new line) | |p3= duration: [[Number]] - (Optional, default 2) Duration in seconds (+ 1 sec for each new line) | ||
|p4= animate: [[Boolean]] - (Optional, default true) Toggle animation | |p4= animate: [[Boolean]] - (Optional, default [[true]]) Toggle animation | ||
|r1= [Number] - Selected Mode | |r1= [[Number]] - Selected Mode | ||
|x1= <code>["This is an animated notification", 0] [[call]] [[BIS_fnc_3DENNotification]];</code> | |x1= <code>["This is an animated notification", 0] [[call]] [[BIS_fnc_3DENNotification]];</code> |
Revision as of 10:01, 3 May 2021
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