# AISetPowerBuilding
Flags —
Native
# Arguments
int
— playerstring
— building
Returns — void
native void AISetPowerBuilding(
int player,
string building,
);
# Related
Category: Unclassified
# Examples
mods/liberty.sc2mod — base.sc2data/TriggerLibs/Protoss/Protoss.galaxy:220
AISetFlag(player, e_flagsScouting, false);
AISetFlag(player, e_flagsEarlyDefScout, false);
AISetPowerBuilding(player, c_PB_Pylon);
AISetDefaultArmyUnit(player, c_PU_Zealot);
AISetDefaultTownHall(player, c_PB_Nexus);
mods/swarm.sc2mod — base.sc2data/TriggerLibs/Protoss/Protoss.galaxy:245
AISetFlag(player, e_flagsScouting, false);
AISetFlag(player, e_flagsEarlyDefScout, false);
AISetPowerBuilding(player, c_PB_Pylon);
AISetDefaultArmyUnit(player, c_PU_Zealot);
AISetDefaultTownHall(player, c_PB_Nexus);
mods/void.sc2mod — base.sc2data/TriggerLibs/Protoss/Protoss.galaxy:254
AISetFlag(player, e_flagsScouting, false);
AISetFlag(player, e_flagsEarlyDefScout, false);
AISetPowerBuilding(player, c_PB_Pylon);
AISetDefaultArmyUnit(player, c_PU_Zealot);
AISetDefaultTownHall(player, c_PB_Nexus);