GetInvasionState

From Zandronum Wiki
This article documents a Zandronum-specific ACS feature which may not be supported by ZDoom and its other child ports.

int GetInvasionState (void)

Usage

Returns the current state of the 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

This article lists no examples, please add one.

See also