is3DENMultiplayer: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (formatting)
m (Text replacement - " \| *s([0-9]) *= ([^ ]+)? ?'''([a-zA-Z0-9_]+)''' ?([^ ]+)? " to " |s$1= $2 $3 $4 ")
Line 9: Line 9:
|descr= Returns [[true]] if the [[Eden Editor]] is in multiplayer mode.
|descr= Returns [[true]] if the [[Eden Editor]] is in multiplayer mode.


|s1= '''is3DENMultiplayer'''
|s1= [[is3DENMultiplayer]]


|r1= [[Boolean]] - Returns [[true]] in the following cases:
|r1= [[Boolean]] - Returns [[true]] in the following cases:

Revision as of 17:45, 12 June 2021

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