is3DENMultiplayer

From Bohemia Interactive Community
Revision as of 16:47, 8 November 2023 by Lou Montana (talk | contribs) (Text replacement - "(\|[pr][0-9]+ *= *[^- ]*) *- *R([a-z ])" to "$1 - r$2")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
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