# PlayerBeaconBuildMenuCurrentGet
Flags —
Native
# Arguments
int
— inPlayerint
— inType
Returns — int
native int PlayerBeaconBuildMenuCurrentGet(
int inPlayer,
int inType,
);
# Related
Category: Unclassified
# Examples
mods/core.sc2mod — base.sc2data/TriggerLibs/MeleeBuildAI.galaxy:104
//--------------------------------------------------------------------------------------------------
int AIGetOpeningScriptTypeFromBuildMenu(int player) {
int aicommBuild = PlayerBeaconBuildMenuCurrentGet(player, c_buildMenuOpening);
if (aicommBuild == c_customBuildOpeningOne) {
mods/core.sc2mod — base.sc2data/TriggerLibs/MeleeBuildAI.galaxy:150
//--------------------------------------------------------------------------------------------------
int AIGetLateGameScriptTypeFromBuildMenu(int player) {
int aicommBuild = PlayerBeaconBuildMenuCurrentGet(player, c_buildMenuLateGame);
if (aicommBuild == c_customBuildLateGameOne) {