# Set Target Melee For Attack Waves
Grammar — Set the target for player player|Attacker’s attack waves to attack any enemies of that player.
Flags —Native
|Action
Sets the target of a player’s attack waves to attack any enemies of that player.
# Arguments
int
— Player
Returns — void
native void AIAttackWaveSetTargetMelee(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 —