# AISetPowerBuilding

FlagsNative

# Arguments

  • int — player
  • string — building

Returns — void

native void AISetPowerBuilding(
	int player,
	string building,
);

Category: Unclassified

# Examples

mods/liberty.sc2modbase.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.sc2modbase.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.sc2modbase.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);