BIS fnc 3DENNotification: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (template:command argument fix)
m (template:command argument fix)
Line 16: Line 16:
| [text, type, duration, animate] [[call]] [[BIS_fnc_3DENNotification]]; |SYNTAX=
| [text, type, duration, animate] [[call]] [[BIS_fnc_3DENNotification]]; |SYNTAX=


|p1= text: [[String]] - Either text or class from Cfg3DEN >> Notifications  |= Parameter 1
|p1= text: [[String]] - Either text or class from Cfg3DEN >> Notifications  |PARAMETER1=


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


|p3= duration: [[Number]] - (Optional, default 2) duration in seconds (+ 1 sec for each new line) |= Parameter 3
|p3= duration: [[Number]] - (Optional, default 2) duration in seconds (+ 1 sec for each new line) |PARAMETER3=


|p4= animate: [[Bool]] - (Optional, default true) is animated |= Parameter 4
|p4= animate: [[Bool]] - (Optional, default true) is animated |PARAMETER4=


| [Number] - Selected Mode |RETURNVALUE=
| [Number] - Selected Mode |RETURNVALUE=
__________________________________________________________________________________________
__________________________________________________________________________________________


|x1= ["This is an animated notification", 0] [[call]] [[BIS_fnc_3DENNotification]]; |= Example 1
|x1= ["This is an animated notification", 0] [[call]] [[BIS_fnc_3DENNotification]]; |EXAMPLE1=
____________________________________________________________________________________________
____________________________________________________________________________________________


|x2= ["This is a warning which is not animated", 1] [[call]] [[BIS_fnc_3DENNotification]]; |= Example 2
|x2= ["This is a warning which is not animated", 1] [[call]] [[BIS_fnc_3DENNotification]]; |EXAMPLE2=
____________________________________________________________________________________________
____________________________________________________________________________________________



Revision as of 14:28, 7 April 2019

Hover & click on the images for description

Description

Description:
Show notification in the Eden Editor
Execution:
call
Groups:
Uncategorised

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,default) 1: Warning (Red)
duration: Number - (Optional, default 2) duration in seconds (+ 1 sec for each new line)
animate: Bool - (Optional, default true) is animated
Return Value:
[Number] - Selected Mode

Examples

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

Additional Information

See also:
Eden EditorBIS_fnc_3DENCameraBIS_fnc_3DENControlsHintBIS_fnc_3DENDiagCreateListBIS_fnc_3DENDiagFontsBIS_fnc_3DENDiagMouseControlBIS_fnc_3DENDrawLocationsBIS_fnc_3DENEntityMenuBIS_fnc_3DENExportAttributesBIS_fnc_3DENExportOldSQMBIS_fnc_3DENExportTerrainBuilderBIS_fnc_3DENFlashlightBIS_fnc_3DENGridBIS_fnc_3DENIntelBIS_fnc_3DENInterfaceBIS_fnc_3DENListLocationsBIS_fnc_3DENMissionPreviewBIS_fnc_3DENModuleDescriptionBIS_fnc_3DENShowMessageBIS_fnc_3DENToolbarBIS_fnc_3DENTutorialBIS_fnc_3DENVisionMode

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


Bottom Section