# AILimitStockLarva

FlagsNative

# Arguments

  • int — player
  • string — aliasType

Returns — void

native void AILimitStockLarva(
	int player,
	string aliasType,
);

Category: Unclassified

# Examples

mods/liberty.sc2modbase.sc2data/TriggerLibs/Zerg/Zerg.galaxy:255

    AISetFlag(player, e_flagsScouting, false);
    AISetFlag(player, e_flagsEarlyDefScout, false);
    AILimitStockLarva(player, c_ZU_Larva);
    AIReqCountAsBuiltObject(player, c_ZU_Larva);
    //AITechCountFixupSingle(player, c_ZB_Spire, c_ZB_GreaterSpire);           // done in BaseAI now

mods/starcoop/starcoop.sc2modbase.sc2data/LibCOMI.galaxy:1018

    else if (autoD30B3B6A_val == "Zerg") {
        InitZergCounters(lp_player);
        AILimitStockLarva(lp_player, c_ZU_Larva);
        AIReqCountAsBuiltObject(lp_player, c_ZU_Larva);
        AISetCreepBuilding(lp_player, c_ZB_CreepTumor, "ZergBuildingNotOnCreep");

mods/swarm.sc2modbase.sc2data/TriggerLibs/Zerg/Zerg.galaxy:261

    AISetFlag(player, e_flagsScouting, false);
    AISetFlag(player, e_flagsEarlyDefScout, false);
    AILimitStockLarva(player, c_ZU_Larva);
    AIReqCountAsBuiltObject(player, c_ZU_Larva);
    //AITechCountFixupSingle(player, c_ZB_Spire, c_ZB_GreaterSpire);           // done in BaseAI now

mods/void.sc2modbase.sc2data/TriggerLibs/Zerg/Zerg.galaxy:267

    AISetFlag(player, e_flagsScouting, false);
    AISetFlag(player, e_flagsEarlyDefScout, false);
    AILimitStockLarva(player, c_ZU_Larva);
    AIReqCountAsBuiltObject(player, c_ZU_Larva);
    //AITechCountFixupSingle(player, c_ZB_HydraliskDen, c_ZB_LurkerDen);       // done in BaseAI now