GetInvasionWave

Warning: This feature is Skulltag specific, and is not compatible with ZDoom!
To see all of Skulltag's specific features, see Skulltag features.

int GetInvasionWave (void)

Usage

Returns the current wave of a Skulltag invasion game, however if Invasion is not running then expect a value of -1 to be returned instead.

Example

Script 1 OPEN
{
While((GetInvasionWave() != 2))
 {
 Delay(1);
 }
 Print(s:"The second wave started!");
}
This article is issued from Zdoom. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.