# AIAttackWaveSetTargetMeleeDefend

FlagsNative

# Arguments

  • int — player

Returns — void

native void AIAttackWaveSetTargetMeleeDefend(int player);

Category: Unclassified

# Examples

mods/warcoop/warmeleeai.sc2modbase.sc2data/TriggerLibs/Orc/Orc.galaxy:449

    //TownThreat
    if(GAw3_AIThreatedByNonHostilePlayer(player)){
        AIAttackWaveSetTargetMeleeDefend(player);
        AIAttackWaveSend(player,3,false);
        //TriggerDebugOutput(1, StringToText("TownThreat"), true);