getClientState

Operand types

None

Type of returned value

Description

Returns client state in network game. Works on both, client and dedicated server.

String - Client state. Possible values are:

  • "NONE" - no client (or singleplayer)

  • "CREATED" - client is create

  • "CONNECTED" - client is connected to server, message formats are registered

  • "LOGGED IN" - identity is created

  • "MISSION SELECTED" - mission is selected

  • "MISSION ASKED" - server was asked to send / not send mission

  • "ROLE ASSIGNED" - role was assigned (and confirmed)

  • "MISSION RECEIVED" - mission received

  • "GAME LOADED" - island loaded, vehicles received

  • "BRIEFING SHOWN" - briefing was displayed

  • "BRIEFING READ" - ready to play mission

  • "GAME FINISHED" - game was finished

  • "DEBRIEFING READ" - debriefing read, ready to continue with next mission

Used In

Arma3

Example

_state = getClientState;
Search OFPEC COMREF