# PlayerBeaconBuildMenuCurrentSet
Flags —
Native
# Arguments
int
— inPlayerint
— inTypeint
— inSlotNum
Returns — void
native void PlayerBeaconBuildMenuCurrentSet(
int inPlayer,
int inType,
int inSlotNum,
);
# Related
Category: Unclassified
# Examples
mods/core.sc2mod — base.sc2data/TriggerLibs/MeleeBuildAI.galaxy:133
if (currentOpening == e_buildType_Rush) {
PlayerBeaconBuildMenuCurrentSet(player, c_buildMenuOpening, c_customBuildOpeningOne);
} else if (currentOpening == e_buildType_Timing) {
PlayerBeaconBuildMenuCurrentSet(player, c_buildMenuOpening, c_customBuildOpeningTwo);
mods/core.sc2mod — base.sc2data/TriggerLibs/MeleeBuildAI.galaxy:135
PlayerBeaconBuildMenuCurrentSet(player, c_buildMenuOpening, c_customBuildOpeningOne);
} else if (currentOpening == e_buildType_Timing) {
PlayerBeaconBuildMenuCurrentSet(player, c_buildMenuOpening, c_customBuildOpeningTwo);
} else if (currentOpening == e_buildType_Power) {
PlayerBeaconBuildMenuCurrentSet(player, c_buildMenuOpening, c_customBuildOpeningThree);
mods/core.sc2mod — base.sc2data/TriggerLibs/MeleeBuildAI.galaxy:137
PlayerBeaconBuildMenuCurrentSet(player, c_buildMenuOpening, c_customBuildOpeningTwo);
} else if (currentOpening == e_buildType_Power) {
PlayerBeaconBuildMenuCurrentSet(player, c_buildMenuOpening, c_customBuildOpeningThree);
} else {
// default to macro, for both macro and air
mods/core.sc2mod — base.sc2data/TriggerLibs/MeleeBuildAI.galaxy:140
} else {
// default to macro, for both macro and air
PlayerBeaconBuildMenuCurrentSet(player, c_buildMenuOpening, c_customBuildOpeningFour);
}
}
mods/core.sc2mod — base.sc2data/TriggerLibs/MeleeBuildAI.galaxy:179
if (currentLateGame == e_buildType_HighTech) {
PlayerBeaconBuildMenuCurrentSet(player, c_buildMenuLateGame, c_customBuildLateGameTwo);
} else if (currentLateGame == e_buildType_Air) {
PlayerBeaconBuildMenuCurrentSet(player, c_buildMenuLateGame, c_customBuildLateGameThree);
mods/core.sc2mod — base.sc2data/TriggerLibs/MeleeBuildAI.galaxy:181
PlayerBeaconBuildMenuCurrentSet(player, c_buildMenuLateGame, c_customBuildLateGameTwo);
} else if (currentLateGame == e_buildType_Air) {
PlayerBeaconBuildMenuCurrentSet(player, c_buildMenuLateGame, c_customBuildLateGameThree);
} else if (currentLateGame == e_buildType_Special) {
PlayerBeaconBuildMenuCurrentSet(player, c_buildMenuLateGame, c_customBuildLateGameFour);
mods/core.sc2mod — base.sc2data/TriggerLibs/MeleeBuildAI.galaxy:183
PlayerBeaconBuildMenuCurrentSet(player, c_buildMenuLateGame, c_customBuildLateGameThree);
} else if (currentLateGame == e_buildType_Special) {
PlayerBeaconBuildMenuCurrentSet(player, c_buildMenuLateGame, c_customBuildLateGameFour);
} else {
// default to core for any other build
mods/core.sc2mod — base.sc2data/TriggerLibs/MeleeBuildAI.galaxy:186
} else {
// default to core for any other build
PlayerBeaconBuildMenuCurrentSet(player, c_buildMenuLateGame, c_customBuildLateGameOne);
}
}