is3DENMultiplayer: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "<tt>([a-zA-Z0-9\. _"\\'=-]+)<\/tt>" to "{{hl|$1}}") |
Lou Montana (talk | contribs) m (Text replacement - "<code>([^ ]*)\[\[([a-zA-Z][a-zA-Z0-9_]+)\]\]([^ ]*)<\/code>" to "<code>$1$2$3</code>") |
||
Line 14: | Line 14: | ||
* 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 [[Eden Editor]] is launched, command returns [[true]] within the editor environment | * 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 [[Eden Editor]] is launched, command returns [[true]] within the editor environment | ||
|x1= <code> | |x1= <code>if [[is3DENMultiplayer]] [[then]] {[[systemChat]] "You are hosting a test server!"};</code> | ||
|seealso= [[is3DEN]] [[is3DENPreview]] | |seealso= [[is3DEN]] [[is3DENPreview]] | ||
}} | }} |
Revision as of 11:09, 12 May 2022
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