BIS fnc 3DENNotification: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "<tt>([^= ]+)<\/tt>" to "{{hl|$1}}") |
Lou Montana (talk | contribs) m (Text replacement - "<code> *(\^+\]) +\[\[call\]\] +\[\[(BIS_fnc_[a-zA-Z0-9_]+)\]\];? *<\/code>" to "<sqf>$1 call $2;</sqf>") |
||
Line 26: | Line 26: | ||
|r1= [[Number]] - Selected Mode | |r1= [[Number]] - Selected Mode | ||
|x1= < | |x1= <sqf>["This is an animated notification", 0] call BIS_fnc_3DENNotification;</sqf> | ||
|x2= < | |x2= <sqf>["This is a warning that is not animated", 1, 2, false] call BIS_fnc_3DENNotification;</sqf> | ||
|seealso= [[Eden Editor]] [[BIS_fnc_3DENShowMessage]] | |seealso= [[Eden Editor]] [[BIS_fnc_3DENShowMessage]] | ||
}} | }} |
Revision as of 19:03, 5 May 2022
Description
- Description:
- Shows notification in the Eden Editor.
- Execution:
- call
- Problems:
- This function needs Display3DEN (
findDisplay 313
) to be active and visible in order to work. During scenario preview its effect will not be visible and during a scenario play-through it will throw an error. - 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:
- Example 2:
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