getClientState: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
m (GVI 1.06 --> 1.08 http://dev.arma3.com/post/spotrep-00016) |
||
Line 4: | Line 4: | ||
| arma3 |= Game name | | arma3 |= Game name | ||
|1. | |1.08|= Game version | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
Revision as of 02:48, 2 October 2014
Description
- Description:
- Returns client state in network game. Works on both, client and dedicated server.
- Groups:
- Uncategorised
Syntax
- Syntax:
- getClientState
- Return Value:
- 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
Examples
- Example 1:
_state = getClientState;
Additional Information
- See also:
- getPlayerUID
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