BIS fnc 3DENNotification: Difference between revisions

From Bohemia Interactive Community
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|=
____________________________________________________________________________________________


{{Function|= Comments
| Arma 3 |= Game
____________________________________________________________________________________________
 
|1.58|= Game Version (number surrounded by NO SPACES)


| arma3 |= Game name
|arg= MPARGUMENTS |= Multiplayer Arguments


|1.00|= Game version
|eff= MPEFFECTS |= Multiplayer Effects
____________________________________________________________________________________________
____________________________________________________________________________________________


| ''N/A'' |= Description
| Show notification in the Eden Editor |= Description
____________________________________________________________________________________________
____________________________________________________________________________________________


| <!-- [] call [[BIS_fnc_3DENNotification]]; --> |= Syntax
| [Text,Type,Duration,Animate] |= Syntax
|p1= |= Parameter 1


| |= Return value
|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
____________________________________________________________________________________________
____________________________________________________________________________________________


|x1= <code></code> |=  
|x2= ["This is a warning which is not animated.",1] [[call]] [[BIS_fnc_3DENNotification]] |= Example 2
____________________________________________________________________________________________
____________________________________________________________________________________________


| |= See also
| SEEALSO |= See Also


}}
}}


<h3 style="display:none">Notes</h3>
<dl class="command_description">
<dl class="command_description">
<!-- Note Section BEGIN -->
<!-- BEGIN Note Section -->
 
<!-- For example:
<!-- Note Section END -->
<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:Function Group: Default|{{uc:3DENNotification}}]]
<!-- Appropriate categories go here -->
[[Category:Functions|{{uc:3DENNotification}}]]
[[Category:Arma 3: Functions|{{uc:{{PAGENAME}}}}]]
[[Category:{{Name|arma3}}: Functions|{{uc:3DENNotification}}]]

Revision as of 17:41, 18 July 2016

-wrong parameter ("MPARGUMENTSargument") defined!--wrong parameter ("MPEFFECTSeffect") defined!-
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]
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

Bottom Section