# AIDefaultMeleeSplitArmyToDefend
Flags —
Native
# Arguments
int
— playerwave
— attackint
— indexDefense
Returns — void
native void AIDefaultMeleeSplitArmyToDefend(
int player,
wave attack,
int indexDefense,
);
# Related
Category: Unclassified
# Examples
mods/core.sc2mod — base.sc2data/TriggerLibs/MeleeWaveAI.galaxy:649
//--- DEFEND ---
if (AIWaveAttackDefend(player, w, state)) {
AIDefaultMeleeSplitArmyToDefend(player, w, c_waveDefend);
}