GetInvasionWave: Difference between revisions

From Zandronum Wiki
(Created page with "int '''GetInvasionWave''' (void) == Return value == If Invasion is enabled, the number of the current wave is returned. Otherwise, -1 is returned.")
 
No edit summary
Tag: Source edit
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
{{ACSWarning}}
int '''GetInvasionWave''' (void)
int '''GetInvasionWave''' (void)


== Return value ==
== Usage ==
=== Return value ===
Returns the number of the current [[Game Modes#Invasion|Invasion]] wave.
If Invasion is not the current game mode, this function will return -1.


If Invasion is enabled, the number of the current wave is returned. Otherwise, -1 is returned.
== Examples ==
{{noexamples}}
 
== See also ==
* [[GetInvasionState]]
 
[[Category: ACS functions]]

Latest revision as of 18:10, 2 July 2022

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

int GetInvasionWave (void)

Usage

Return value

Returns the number of the current Invasion wave. If Invasion is not the current game mode, this function will return -1.

Examples

This article lists no examples, please add one.

See also