# AIScaleCurrentStockArmy
Flags —
Native
# Arguments
int
— playerfixed
— scaleint
— startint
— end
Returns — void
native void AIScaleCurrentStockArmy(
int player,
fixed scale,
int start,
int end,
);
# Related
Category: Unclassified
# Examples
mods/core.sc2mod — base.sc2data/TriggerLibs/MeleeLowAI.galaxy:338
}
AIScaleCurrentStockArmy(player, percentElapsed / percentRemaining, 0, c_ldMaxArmyStockSize-1);
} else {
// switching to next phase
mods/core.sc2mod — base.sc2data/TriggerLibs/MeleeLowAI.galaxy:360
newEndTime = origStartTime + newDuration;
AIScaleCurrentStockArmy(player, percentRemaining, 0, c_ldMaxArmyStockSize-1);
} else {
// switching to next phase