BIS fnc 3DENNotification: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\| *((\[\[[a-zA-Z0-9_ :\\\-\/|()]+\]\],? ?)+) * \}\}" to "|seealso= $1 }}")
(formatting)
Line 1: Line 1:
{{RV|type=function
{{RV|type=function


| Arma 3
|game1= Arma 3


|1.58
|version1= 1.58


|arg= Local
|arg= Local
Line 11: Line 11:
|gr1= Eden Editor
|gr1= Eden Editor


| Show notification in the Eden Editor
|descr= Shows notification in the [[Eden Editor]].


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


|p2= type: [[Number]] - (Optional, default 0) 0: Notification (Green,default) 1: Warning (Red)
|p2= type: [[Number]] - (Optional, default 0) 0: Notification (Green) 1: Warning (Red)


|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) is animated
|p4= animate: [[Boolean]] - (Optional, default true) Toggle animation


| [Number] - Selected Mode
|r1= [Number] - Selected Mode


|x1= ["This is an animated notification", 0] [[call]] [[BIS_fnc_3DENNotification]];
|x1= <code>["This is an animated notification", 0] [[call]] [[BIS_fnc_3DENNotification]];</code>


|x2= ["This is a warning which is not animated", 1, 2, false] [[call]] [[BIS_fnc_3DENNotification]];
|x2= <code>["This is a warning that is not animated", 1, 2, false] [[call]] [[BIS_fnc_3DENNotification]];</code>


|seealso= [[Eden Editor]],[[BIS_fnc_3DENCamera]],[[BIS_fnc_3DENControlsHint]],[[BIS_fnc_3DENDiagCreateList]],[[BIS_fnc_3DENDiagFonts]],[[BIS_fnc_3DENDiagMouseControl]],[[BIS_fnc_3DENDrawLocations]],[[BIS_fnc_3DENEntityMenu]],[[BIS_fnc_3DENExportAttributes]],[[BIS_fnc_3DENExportOldSQM]],[[BIS_fnc_3DENExportTerrainBuilder]],[[BIS_fnc_3DENFlashlight]],[[BIS_fnc_3DENGrid]],[[BIS_fnc_3DENIntel]],[[BIS_fnc_3DENInterface]],[[BIS_fnc_3DENListLocations]],[[BIS_fnc_3DENMissionPreview]],[[BIS_fnc_3DENModuleDescription]],[[BIS_fnc_3DENShowMessage]],[[BIS_fnc_3DENToolbar]],[[BIS_fnc_3DENTutorial]],[[BIS_fnc_3DENVisionMode]]
|seealso= [[Eden Editor]] [[BIS_fnc_3DENShowMessage]]
}}
}}
{{GameCategory|arma3|Functions}}

Revision as of 09:54, 3 May 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