is3DENMultiplayer: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "\|x([0-9])= *<code>([^<]*)<\/code>" to "|x$1= <sqf>$2</sqf>") |
Lou Montana (talk | contribs) m (Text replacement - "\[\[Eden( |_)Editor(\||\])" to "[[:Category:Eden Editor$2") |
||
Line 6: | Line 6: | ||
|gr1= Eden Editor | |gr1= Eden Editor | ||
|descr= Returns [[true]] if the [[Eden Editor]] is in multiplayer mode. | |descr= Returns [[true]] if the [[:Category: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: | ||
* Multiplayer preview launched directly from [[Eden Editor]] - [[true]] in preview and only for the creator | * Multiplayer preview launched directly from [[:Category: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 [[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 [[:Category:Eden Editor]] is launched, command returns [[true]] within the editor environment | ||
|x1= <sqf>if is3DENMultiplayer then {systemChat "You are hosting a test server!"};</sqf> | |x1= <sqf>if is3DENMultiplayer then {systemChat "You are hosting a test server!"};</sqf> |
Revision as of 13:21, 9 July 2023
Description
- Description:
- Returns true if the Category: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 Category: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 Category:Eden Editor is launched, command returns true within the editor environment
Examples
- Example 1:
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