Warning: file_put_contents(/ff_1a08f7290967116cea5e6d205e31c62a39f1fa62f57e711f.php): failed to open stream: Permission denied in /home/ofpecsav/public_html/forum/Sources/Subs-ForumFirewall.php on line 1619
getClientState - OFPEC Scripting Command Reference | OFPEC The Editing Center

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;

Advertisement