BIS fnc 3DENNotification: Difference between revisions
Jump to navigation
Jump to search
m (Generated by BIS_fnc_exportFunctionsToWiki) |
(Created page with "{{Function|= ____________________________________________________________________________________________ | Arma 3 |= Game |1.58|= Game Version (number surrounded by NO SPAC...") |
||
Line 1: | Line 1: | ||
{{Function|= | |||
____________________________________________________________________________________________ | |||
| Arma 3 |= Game | |||
|1.58|= Game Version (number surrounded by NO SPACES) | |||
| | |arg= MPARGUMENTS |= Multiplayer Arguments | ||
| | |eff= MPEFFECTS |= Multiplayer Effects | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| | | Show notification in the Eden Editor |= Description | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| | | [Text,Type,Duration,Animate] |= Syntax | ||
| |= Return | |p1= Text: [[String]] - Either text or class from Cfg3DEN >> Notifications |= Parameter 1 | ||
|p2= (Optional) Type: [[Number]] - 0: Notification (Green,default) 1: Warning (Red) |= Parameter 2 | |||
|p3= (Optional) Duration: [[Number]] - Duration (Default 2 sec. + 1 sec for each new line) |= Parameter 3 | |||
|p4= (Optional) Animate: [[Bool]] - Animation (Default: true) |= Parameter 4 | |||
| [Number] - Selected Mode |= Return Value | |||
|exec= call |= Execution By (defaults to [[call]] if omitted) | |||
__________________________________________________________________________________________ | |||
|x1= ["This is an animated notification.",0] [[call]] [[BIS_fnc_3DENNotification]] |= Example 1 | |||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| | |x2= ["This is a warning which is not animated.",1] [[call]] [[BIS_fnc_3DENNotification]] |= Example 2 | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| |= See | | SEEALSO |= See Also | ||
}} | }} | ||
<dl class="command_description"> | <dl class="command_description"> | ||
<!-- Note Section | <!-- BEGIN Note Section --> | ||
<!-- For example: | |||
<!-- Note Section | <dd class="notedate">Posted on Month Day, Year - Time (UTC)</dd> | ||
<dt class="note">'''[[User:User Name|User Name]]'''</dt> | |||
<dd class="note">This is an example note. It is true and verifiable, and contains a little code snippet. | |||
<code>[[if]] ([[_this]] == anExample) [[then]] { [[hint]] "Leave it here for others to read"; };</code></dd> | |||
--> | |||
<!-- END Note Section --> | |||
</dl> | </dl> | ||
<h3 style="display:none">Bottom Section</h3> | <h3 style="display:none">Bottom Section</h3> | ||
[[Category: | <!-- Appropriate categories go here --> | ||
[[Category:Arma 3: Functions|{{uc:{{PAGENAME}}}}]] | |||
Revision as of 17:41, 18 July 2016
Description
- Description:
- Show notification in the Eden Editor
- Execution:
- call
- Groups:
- Uncategorised
Syntax
- Syntax:
- [Text,Type,Duration,Animate]
- Parameters:
- Text: String - Either text or class from Cfg3DEN >> Notifications
- (Optional) Type: Number - 0: Notification (Green,default) 1: Warning (Red)
- (Optional) Duration: Number - Duration (Default 2 sec. + 1 sec for each new line)
- (Optional) Animate: Bool - Animation (Default: true)
- 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:
- SEEALSO
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