isMultiplayerSolo: Difference between revisions

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


| arma3 |= Game name
|game1= arma3
|version1= 1.66


|1.66|= Game version
|gr1= Multiplayer
____________________________________________________________________________________________


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


| '''isMultiplayerSolo''' |SYNTAX=
|s1= [[isMultiplayerSolo]]


|x1= <code>_state = [[isMultiplayerSolo]];</code> |Example 1=
|r1= [[Boolean]]


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


|seealso= [[isMultiplayer]] [[isDedicated]] [[hasInterface]] [[isServer]]
}}
}}
<h3 style="display:none">Notes</h3>
<dl class="command_description">
<!-- Note Section BEGIN -->
<!-- Note Section END -->
</dl>
<h3 style="display:none">Bottom Section</h3>
[[Category:Scripting Commands|SETUNITABILITY]]
[[Category:Scripting Commands OFP Elite |SETUNITABILITY]]
[[Category:Scripting Commands ArmA|SETUNITABILITY]]
[[Category:Scripting Commands ArmA2|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting_Commands_Take_On_Helicopters|{{uc:{{PAGENAME}}}}]]
<!-- 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