# AISetCreepBuilding

FlagsNative

# Arguments

  • int — player
  • string — building
  • string — noCreepBehavior

Returns — void

native void AISetCreepBuilding(
	int player,
	string building,
	string noCreepBehavior,
);

Category: Unclassified

# Examples

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

    //AITechCountFixupSingle(player, c_ZB_Spire, c_ZB_GreaterSpire);           // done in BaseAI now
    //AITechCountFixupInOrder(player, c_ZB_Hatchery, c_ZB_Lair, c_ZB_Hive);    // done in BaseAI now
    AISetCreepBuilding(player, c_ZB_CreepTumor, "ZergBuildingNotOnCreep");
    AISetDefaultArmyUnit(player, c_ZU_Zergling);
    AISetDefaultTownHall(player, c_ZB_Hatchery);

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

        AILimitStockLarva(lp_player, c_ZU_Larva);
        AIReqCountAsBuiltObject(lp_player, c_ZU_Larva);
        AISetCreepBuilding(lp_player, c_ZB_CreepTumor, "ZergBuildingNotOnCreep");
        AISetDefaultArmyUnit(lp_player, c_ZU_Zergling);
        AISetDefaultTownHall(lp_player, c_ZB_Hatchery);

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

    //AITechCountFixupSingle(player, c_ZB_Spire, c_ZB_GreaterSpire);           // done in BaseAI now
    //AITechCountFixupInOrder(player, c_ZB_Hatchery, c_ZB_Lair, c_ZB_Hive);    // done in BaseAI now
    AISetCreepBuilding(player, c_ZB_CreepTumor, "ZergBuildingNotOnCreep");
    AISetDefaultArmyUnit(player, c_ZU_Zergling);
    AISetDefaultTownHall(player, c_ZB_Hatchery);

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

    //AITechCountFixupSingle(player, c_ZB_Spire, c_ZB_GreaterSpire);           // done in BaseAI now
    //AITechCountFixupInOrder(player, c_ZB_Hatchery, c_ZB_Lair, c_ZB_Hive);    // done in BaseAI now
    AISetCreepBuilding(player, c_ZB_CreepTumor, "ZergBuildingNotOnCreep");
    AISetDefaultArmyUnit(player, c_ZU_Zergling);
    AISetDefaultTownHall(player, c_ZB_Hatchery);