# Is Wave In Combat

Grammar — Specified wave waveRef is in combat
FlagsNative | Function

Returns true if the specified wave is in combat.

# Arguments

  • wave — Wave

Returns — bool

native bool AIWaveIsInCombat(wave w);

Category: AI Advanced / Waves / Functions

# Examples

# mods/core.sc2mod

MeleeWaveAI.galaxy

// L173
AIWaveIsInCombat(w)
// L266
AIWaveIsInCombat(w)