# AIDefaultMeleeSplitArmyToDefend

FlagsNative

# Arguments

  • int — player
  • wave — attack
  • int — indexDefense

Returns — void

native void AIDefaultMeleeSplitArmyToDefend(
	int player,
	wave attack,
	int indexDefense,
);

Category: Unclassified

# Examples

mods/core.sc2modbase.sc2data/TriggerLibs/MeleeWaveAI.galaxy:649

    //--- DEFEND ---
    if (AIWaveAttackDefend(player, w, state)) {
        AIDefaultMeleeSplitArmyToDefend(player, w, c_waveDefend);
    }