1,579
edits
DrinkyBird (talk | contribs) (Created page with "int '''GetInvasionState''' (void) == Return value == If Invasion is enabled, the current state of the game mode is returned. Possible states are listed in the following tabl...") |
DrinkyBird (talk | contribs) No edit summary Tag: Source edit |
||
Line 1: | Line 1: | ||
{{ACSWarning}} | |||
int '''GetInvasionState''' (void) | int '''GetInvasionState''' (void) | ||
== | == Usage == | ||
Returns the current state of the [[Game Modes#Invasion|Invasion]] game mode. | |||
=== Return value === | |||
* '''IS_WAITINGFORPLAYERS''' = 0 | |||
* '''IS_FIRSTCOUNTDOWN''' = 1 | |||
* '''IS_INPROGRESS''' = 2 | |||
* '''IS_BOSSFIGHT''' = 3 | |||
* '''IS_WAVECOMPLETE''' = 4 | |||
* '''IS_COUNTDOWN''' = 5 | |||
* '''IS_MISSIONFAILED''' = 6 | |||
If Invasion is not the current game mode, this function returns -1. | |||
== Examples == | |||
{{noexamples}} | |||
[[Category: ACS | == See also == | ||
* [[GetGameModeState]] | |||
[[Category: ACS functions]] |