# AIScaleCurrentStockArmy

FlagsNative

# Arguments

  • int — player
  • fixed — scale
  • int — start
  • int — end

Returns — void

native void AIScaleCurrentStockArmy(
	int player,
	fixed scale,
	int start,
	int end,
);

Category: Unclassified

# Examples

mods/core.sc2modbase.sc2data/TriggerLibs/MeleeLowAI.galaxy:338

        }

        AIScaleCurrentStockArmy(player, percentElapsed / percentRemaining, 0, c_ldMaxArmyStockSize-1);
    } else {
        // switching to next phase

mods/core.sc2modbase.sc2data/TriggerLibs/MeleeLowAI.galaxy:360

        newEndTime = origStartTime + newDuration;
        
        AIScaleCurrentStockArmy(player, percentRemaining, 0, c_ldMaxArmyStockSize-1);
    } else {
        // switching to next phase