BIS fnc 3DENNotification: Difference between revisions
Jump to navigation
Jump to search
m (1 revision imported: BIS Functions update 7/7) |
Lou Montana (talk | contribs) m (Fix category) |
||
Line 14: | Line 14: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| [ | | [text, type, duration, animate] [[call]] [[BIS_fnc_3DENNotification]]; |= Syntax | ||
|p1= | |p1= text: [[String]] - Either text or class from Cfg3DEN >> Notifications |= Parameter 1 | ||
|p2= | |p2= type: [[Number]] - (Optional, default 0) 0: Notification (Green,default) 1: Warning (Red) |= Parameter 2 | ||
|p3= | |p3= duration: [[Number]] - (Optional, default 2) duration in seconds (+ 1 sec for each new line) |= Parameter 3 | ||
|p4= | |p4= animate: [[Bool]] - (Optional, default true) is animated |= Parameter 4 | ||
| [Number] - Selected Mode |= Return Value | | [Number] - Selected Mode |= Return Value | ||
__________________________________________________________________________________________ | __________________________________________________________________________________________ | ||
|x1= ["This is an animated notification | |x1= ["This is an animated notification", 0] [[call]] [[BIS_fnc_3DENNotification]]; |= Example 1 | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
|x2= ["This is a warning which is not animated | |x2= ["This is a warning which is not animated", 1] [[call]] [[BIS_fnc_3DENNotification]]; |= Example 2 | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| | | |= See Also | ||
}} | |||
<dl class="command_description"> | <dl class="command_description"> | ||
<!-- BEGIN Note Section --> | <!-- BEGIN Note Section --> | ||
<!-- END Note Section --> | <!-- END Note Section --> | ||
</dl> | </dl> | ||
Line 51: | Line 45: | ||
<h3 style="display:none">Bottom Section</h3> | <h3 style="display:none">Bottom Section</h3> | ||
<!-- Appropriate categories go here --> | <!-- Appropriate categories go here --> | ||
[[Category:Arma 3: Functions|{{uc: | [[Category:Arma 3: Functions|{{uc:3DENNotification}}]] |
Revision as of 17:39, 21 April 2018
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:
- See also needed
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