is3DENMultiplayer: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "_{10,} " to "")
m (Text replacement - " *\| *([Cc]omments|COMMENTS|Game|[Gg]ame [Nn]ame|Game [Vv]ersion|Game Version \(number surrounded by NO SPACES\)|Multiplayer Arguments( \("local" or "global"\))?|Effects|Multiplayer Effects( \("local" or "global"\))?|Multiplayer Exe...)
Line 1: Line 1:
{{Command|Comments=
{{Command


|arma3|Game name=
|arma3


|1.56|Game version=
|1.56


|gr1= Eden Editor |GROUP1=
|gr1= Eden Editor


| Returns [[true]] if the [[Eden Editor]] is in multiplayer mode. Returns [[true]] in the following cases:
| Returns [[true]] if the [[Eden Editor]] is in multiplayer mode. Returns [[true]] in the following cases:
* Multiplayer Preview launched directly from [[3DEN]] - [[true]] in preview and only for the creator
* 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]])   
* 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]])   
|DESCRIPTION=


| '''is3DENMultiplayer''' |SYNTAX=
| [[Boolean]] |RETURNVALUE=


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


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


|  |MPBEHAVIOUR=
|  |MPBEHAVIOUR=

Revision as of 01:41, 18 January 2021

Hover & click on the images for description

Description

Description:
Returns true if the Eden Editor is in multiplayer mode. Returns true in the following cases:
  • Multiplayer Preview launched directly from 3DEN - 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 3DEN is launched, command returns true within the editor environment. (see also is3DEN, is3DENPreview)
Groups:
Eden Editor

Syntax

Syntax:
is3DENMultiplayer
Return Value:
Boolean

Examples

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

Additional Information

See also:
is3DEN is3DENPreview isMultiplayer isMultiplayerSolo

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

Notes


Bottom Section