GetInvasionWave

From ZDoom Wiki
Jump to: navigation, search
SkulltagIcon.png 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!");
}