is3DENMultiplayer: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " *\| *([Cc]omments|COMMENTS|Game|[Gg]ame [Nn]ame( +[0-9])?|Game [Vv]ersion( +[0-9])?|Game Version \(number surrounded by NO SPACES\)|Arguments in MP|Multiplayer Arguments( \("local" or "global"\))?|Effects|Execution|Effects? in MP|M...)
m (Text replacement - "(\|[pr][0-9]+ *= *[^- ]*) *- *R([a-z ])" to "$1 - r$2")
 
(21 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Command
{{RV|type=command


|arma3
|game1= arma3
 
|version1= 1.56
|1.56


|gr1= Eden Editor
|gr1= Eden Editor


| Returns [[true]] if the [[Eden Editor]] is in multiplayer mode. Returns [[true]] in the following cases:
|descr= Returns [[true]] if the [[:Category:Eden Editor|Eden Editor]] is in multiplayer mode.
* Multiplayer Preview launched directly from [[3DEN]] - [[true]] in preview and only for the creator
* MP mission is chosen for editing when creating a server: <tt>Multiplayer - Server Browser - Host Server</tt>. When 3D EDITOR button is clicked for selected mission and 3DEN is launched, command returns [[true]] within the editor environment. (see also [[is3DEN]], [[is3DENPreview]]) 


|s1= [[is3DENMultiplayer]]


| '''is3DENMultiplayer'''
|r1= [[Boolean]] - returns [[true]] in the following cases:
| [[Boolean]]
* Multiplayer preview launched directly from [[:Category:Eden Editor|Eden Editor]] - [[true]] in preview and only for the creator
* MP mission is chosen for editing when creating a server: {{hl|Multiplayer - Server Browser - Host Server}}. When ''3D EDITOR'' button is clicked for selected mission and [[:Category:Eden Editor|Eden Editor]] is launched, command returns [[true]] within the editor environment


|x1= <code>[[if]] [[is3DENMultiplayer]] [[then]] {[[systemChat]] "You are hosting a test server!"};</code>
|x1= <sqf>if is3DENMultiplayer then {systemChat "You are hosting a test server!"};</sqf>


| [[is3DEN]] [[is3DENPreview]] [[isMultiplayer]] [[isMultiplayerSolo]]
|seealso= [[is3DEN]] [[is3DENPreview]]
 
|
}}
}}
<h3 style='display:none'>Notes</h3>
<dl class='command_description'>
<!-- Note Section BEGIN -->
<!-- Note Section END -->
</dl>
<!-- DISCONTINUE Notes -->
<h3 style='display:none'>Bottom Section</h3>

Latest revision as of 15:47, 8 November 2023

Hover & click on the images for description

Description

Description:
Returns true if the Eden Editor is in multiplayer mode.
Groups:
Eden Editor

Syntax

Syntax:
is3DENMultiplayer
Return Value:
Boolean - returns true in the following cases:
  • Multiplayer preview launched directly from Eden Editor - true in preview and only for the creator
  • MP mission is chosen for editing when creating a server: Multiplayer - Server Browser - Host Server. When 3D EDITOR button is clicked for selected mission and Eden Editor is launched, command returns true within the editor environment

Examples

Example 1:
if is3DENMultiplayer then {systemChat "You are hosting a test server!"};

Additional Information

See also:
is3DEN is3DENPreview

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