# AIAttackWaveSetTargetMeleeDefend
Flags —
Native
# Arguments
int
— player
Returns — void
native void AIAttackWaveSetTargetMeleeDefend(int player);
# Related
Category: Unclassified
# Examples
mods/warcoop/warmeleeai.sc2mod — base.sc2data/TriggerLibs/Orc/Orc.galaxy:449
//TownThreat
if(GAw3_AIThreatedByNonHostilePlayer(player)){
AIAttackWaveSetTargetMeleeDefend(player);
AIAttackWaveSend(player,3,false);
//TriggerDebugOutput(1, StringToText("TownThreat"), true);