BIS fnc 3DENNotification: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "_{10,} " to "") |
Lou Montana (talk | contribs) m (Text replacement - " *\| *([Cc]omments|COMMENTS|[Gg]ame [Nn]ame|Game [Vv]ersion|Game Version \(number surrounded by NO SPACES\)|Multiplayer Arguments \("local" or "global"\)|Multiplayer Effects \("local" or "global"\)|Multiplayer Execution \("server" o...) |
||
Line 1: | Line 1: | ||
{{Function | {{Function | ||
| Arma 3 |Game= | | Arma 3 |Game= | ||
|1.58 | |1.58 | ||
|arg= Local |Multiplayer Arguments= | |arg= Local |Multiplayer Arguments= | ||
Line 9: | Line 9: | ||
|eff= Local |Multiplayer Effects= | |eff= Local |Multiplayer Effects= | ||
|gr1 = Eden Editor | |gr1 = Eden Editor | ||
| Show notification in the Eden Editor | | Show notification in the Eden Editor | ||
| [text, type, duration, animate] [[call]] [[BIS_fnc_3DENNotification]]; | | [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 Cfg3DEN >> Notifications | ||
|p2= type: [[Number]] - (Optional, default 0) 0: Notification (Green,default) 1: Warning (Red) | |p2= type: [[Number]] - (Optional, default 0) 0: Notification (Green,default) 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) is animated | ||
| [Number] - Selected Mode | | [Number] - Selected Mode | ||
|x1= ["This is an animated notification", 0] [[call]] [[BIS_fnc_3DENNotification]]; | |x1= ["This is an animated notification", 0] [[call]] [[BIS_fnc_3DENNotification]]; | ||
|x2= ["This is a warning which is not animated", 1, 2, false] [[call]] [[BIS_fnc_3DENNotification]]; | |x2= ["This is a warning which is not animated", 1, 2, false] [[call]] [[BIS_fnc_3DENNotification]]; | ||
| [[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]] | | [[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]] | ||
}} | }} | ||
Revision as of 22:05, 17 January 2021
Description
- Description:
- Show 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,default) 1: Warning (Red)
- duration: Number - (Optional, default 2) duration in seconds (+ 1 sec for each new line)
- animate: Boolean - (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, 2, false] 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