BIS fnc 3DENNotification: Difference between revisions
Jump to navigation
Jump to search
Killzone Kid (talk | contribs) No edit summary |
Killzone Kid (talk | contribs) No edit summary |
||
Line 21: | Line 21: | ||
|p4= animate: [[Boolean]] - (Optional, default [[true]]) Toggle animation | |p4= animate: [[Boolean]] - (Optional, default [[true]]) Toggle animation | ||
|p5= volume: [[Number]] - (Optional, default 1) volume adjustment | |||
|p5since= Arma3 2.10 | |||
|r1= [[Number]] - Selected Mode | |r1= [[Number]] - Selected Mode |
Revision as of 18:51, 11 May 2022
Description
- Description:
- Shows notification banner with given text, animated or not, at the top of the screen 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
- since 2.10
- volume: Number - (Optional, default 1) volume adjustment
- 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