# Set Attack Wave Keep Alive
Grammar — Set the next attack wave from player player to stay around even if it has only zero units in it
Flags —Native|Action
Set the next attack wave from a player to stay around even if it has only zero units in it. Only use this if you plan to manually keep track of the wave and add units later.
# Arguments
int— Attacker
Returns — void
native void AIAttackWaveSetKeepAlive(int player);
# Related
Category: AI / AttackWaves / Actions
- Add Unit To Attack Wave —
void— AIAttackWaveUseUnit - Add Unit Group To Attack Wave —
void— AIAttackWaveUseGroup - Add Escort Unit To Attack Wave —
void— AIAttackWaveAddEscortUnit - Add Escort UnitType To Attack Wave —
void— AIAttackWaveAddEscortType - Add Attack Wave Waypoint —
void— AIAttackWaveAddWaypoint - Send Attack Wave —
void— AIAttackWaveSend - Cancel Attack Wave —
void— AIAttackWaveCancel - Set Attack Wave Gather Point —
void— AIAttackWaveSetGatherPoint - Set Target Player For Attack Waves —
void— AIAttackWaveSetTargetPlayer - Set Target Unit For Attack Waves —
void— AIAttackWaveSetTargetUnit - Set Target UnitGroup For Attack Waves —
void— AIAttackWaveSetTargetUnitGroup - Set Target UnitArea For Attack Waves —
void— AIAttackWaveSetTargetUnitPoint - Set Target Point For Attack Waves —
void— AIAttackWaveSetTargetPoint - Set Target Merge For Attack Waves —
void— AIAttackWaveSetTargetMerge - Set Target Patrol For Attack Waves —
void— AIAttackWaveSetTargetPatrol - Set Target Escort For Attack Waves —
void— AIAttackWaveSetTargetEscort - Set Target Escort For Attack Waves, No Leashing —
void— AIAttackWaveSetTargetEscortNL - Set Target Gather Defense For Attack Waves —
void— AIAttackWaveSetTargetGatherD - Set Target Gather Offense For Attack Waves —
void— AIAttackWaveSetTargetGatherO - Set Target Melee For Attack Waves —
void— AIAttackWaveSetTargetMelee - Set Target Melee Harass For Attack Waves —
void— AIAttackWaveSetTargetMeleeHarass - Set Target Region For Attack/Defense Waves —
void— AIAttackWaveSetTargetRegion - Add Attack Wave Unit Types (Liberty) —
void— AIAttackWaveAddUnits4 - Add Attack Wave Unit Types (Swarm) —
void— AIAttackWaveAddUnits3 - Set Attack Wave Keep Alive —
void— AIAttackWaveSetKeepAlive - Set Attack Wave Gather Early No Replace —
void— AIAttackWaveSetGatherEarlyNoReplace
# Examples
— None found —