isMultiplayerSolo: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
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...)
m (Text replacement - "<code>_([a-zA-Z0-9_]+) = \[\[([a-zA-Z0-9]+)\]\];?<\/code>" to "<sqf>_$1 = $2;</sqf>")
 
(13 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Command
{{RV|type=command


| arma3
|game1= arma3
 
|version1= 1.66
|1.66


|gr1= Multiplayer
|gr1= Multiplayer


| Returns [[true]] when playing a game in '''solo multiplayer''' (for example Apex coop campaign PLAY SOLO option).
|descr= Returns [[true]] when playing a game in '''solo multiplayer''' (for example Apex coop campaign PLAY SOLO option).
 
| '''isMultiplayerSolo'''


|x1= <code>_state = [[isMultiplayerSolo]];</code>
|s1= [[isMultiplayerSolo]]


| [[Boolean]]
|r1= [[Boolean]]


| [[isMultiplayer]], [[isDedicated]], [[hasInterface]], [[isServer]]
|x1= <sqf>_state = isMultiplayerSolo;</sqf>


|seealso= [[isMultiplayer]] [[isDedicated]] [[hasInterface]] [[isServer]]
}}
}}
<h3 style="display:none">Bottom Section</h3>
[[Category:Scripting Commands|SETUNITABILITY]]
{{GameCategory|ofpe|Scripting Commands}}
{{GameCategory|arma1|Scripting Commands}}
{{GameCategory|arma2|Scripting Commands}}
{{GameCategory|arma3|Scripting Commands}}
{{GameCategory|tkoh|Scripting Commands}}
<!-- CONTINUE Notes -->
<!-- DISCONTINUE Notes -->

Latest revision as of 21:21, 7 May 2022

Hover & click on the images for description

Description

Description:
Returns true when playing a game in solo multiplayer (for example Apex coop campaign PLAY SOLO option).
Groups:
Multiplayer

Syntax

Syntax:
isMultiplayerSolo
Return Value:
Boolean

Examples

Example 1:
_state = isMultiplayerSolo;

Additional Information

See also:
isMultiplayer isDedicated hasInterface isServer

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