isMultiplayerSolo: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\|seealso= *\[\[([^ ]+)\]\], \[\[([^ ]+)\]\]" to "|seealso= $1 $2")
m (Text replacement - "<code>_([a-zA-Z0-9_]+) = \[\[([a-zA-Z0-9]+)\]\];?<\/code>" to "<sqf>_$1 = $2;</sqf>")
 
(One intermediate revision by the same user not shown)
Line 12: Line 12:
|r1= [[Boolean]]
|r1= [[Boolean]]


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


|seealso= [[isMultiplayer]] [[isDedicated]] [[hasInterface]], [[isServer]]
|seealso= [[isMultiplayer]] [[isDedicated]] [[hasInterface]] [[isServer]]
}}
}}

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