# AISetCreepBuilding
Flags —
Native
# Arguments
int
— playerstring
— buildingstring
— noCreepBehavior
Returns — void
native void AISetCreepBuilding(
int player,
string building,
string noCreepBehavior,
);
# Related
Category: Unclassified
# Examples
mods/liberty.sc2mod — base.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.sc2mod — base.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.sc2mod — base.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.sc2mod — base.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);