# PlayerBeaconBuildMenuCurrentGet

FlagsNative

# Arguments

  • int — inPlayer
  • int — inType

Returns — int

native int PlayerBeaconBuildMenuCurrentGet(
	int inPlayer,
	int inType,
);

Category: Unclassified

# Examples

mods/core.sc2modbase.sc2data/TriggerLibs/MeleeBuildAI.galaxy:104

//--------------------------------------------------------------------------------------------------
int AIGetOpeningScriptTypeFromBuildMenu(int player) {
    int aicommBuild = PlayerBeaconBuildMenuCurrentGet(player, c_buildMenuOpening);

    if (aicommBuild == c_customBuildOpeningOne) {

mods/core.sc2modbase.sc2data/TriggerLibs/MeleeBuildAI.galaxy:150

//--------------------------------------------------------------------------------------------------
int AIGetLateGameScriptTypeFromBuildMenu(int player) {
    int aicommBuild = PlayerBeaconBuildMenuCurrentGet(player, c_buildMenuLateGame);

    if (aicommBuild == c_customBuildLateGameOne) {