# PlayerBeaconBuildMenuSetSlotInfo
Flags —
Native
# Arguments
int
— inPlayerint
— inTypeint
— inSlotNumtext
— inIcontext
— inNametext
— inTooltip
Returns — void
native void PlayerBeaconBuildMenuSetSlotInfo(
int inPlayer,
int inType,
int inSlotNum,
text inIcon,
text inName,
text inTooltip,
);
# Related
Category: Unclassified
# Examples
mods/core.sc2mod — base.sc2data/TriggerLibs/MeleeBuildAI.galaxy:82
for (i = 0; i <= c_maxPlayers; i+=1) { // include c_maxPlayers for the "all" button list
// four opening choices
PlayerBeaconBuildMenuSetSlotInfo(i, c_buildMenuOpening, c_customBuildOpeningOne, StringExternal("UI/AIBuild/OpenRushIcon"), StringExternal("UI/AIBuild/OpenRushName"), StringExternal("UI/AIBuild/OpenRushTip"));
PlayerBeaconBuildMenuSetSlotInfo(i, c_buildMenuOpening, c_customBuildOpeningTwo, StringExternal("UI/AIBuild/OpenQuickIcon"), StringExternal("UI/AIBuild/OpenQuickName"), StringExternal("UI/AIBuild/OpenQuickTip"));
PlayerBeaconBuildMenuSetSlotInfo(i, c_buildMenuOpening, c_customBuildOpeningThree, StringExternal("UI/AIBuild/OpenPowerIcon"), StringExternal("UI/AIBuild/OpenPowerName"), StringExternal("UI/AIBuild/OpenPowerTip"));
mods/core.sc2mod — base.sc2data/TriggerLibs/MeleeBuildAI.galaxy:83
// four opening choices
PlayerBeaconBuildMenuSetSlotInfo(i, c_buildMenuOpening, c_customBuildOpeningOne, StringExternal("UI/AIBuild/OpenRushIcon"), StringExternal("UI/AIBuild/OpenRushName"), StringExternal("UI/AIBuild/OpenRushTip"));
PlayerBeaconBuildMenuSetSlotInfo(i, c_buildMenuOpening, c_customBuildOpeningTwo, StringExternal("UI/AIBuild/OpenQuickIcon"), StringExternal("UI/AIBuild/OpenQuickName"), StringExternal("UI/AIBuild/OpenQuickTip"));
PlayerBeaconBuildMenuSetSlotInfo(i, c_buildMenuOpening, c_customBuildOpeningThree, StringExternal("UI/AIBuild/OpenPowerIcon"), StringExternal("UI/AIBuild/OpenPowerName"), StringExternal("UI/AIBuild/OpenPowerTip"));
PlayerBeaconBuildMenuSetSlotInfo(i, c_buildMenuOpening, c_customBuildOpeningFour, StringExternal("UI/AIBuild/OpenMacroIcon"), StringExternal("UI/AIBuild/OpenMacroName"), StringExternal("UI/AIBuild/OpenMacroTip"));
mods/core.sc2mod — base.sc2data/TriggerLibs/MeleeBuildAI.galaxy:84
PlayerBeaconBuildMenuSetSlotInfo(i, c_buildMenuOpening, c_customBuildOpeningOne, StringExternal("UI/AIBuild/OpenRushIcon"), StringExternal("UI/AIBuild/OpenRushName"), StringExternal("UI/AIBuild/OpenRushTip"));
PlayerBeaconBuildMenuSetSlotInfo(i, c_buildMenuOpening, c_customBuildOpeningTwo, StringExternal("UI/AIBuild/OpenQuickIcon"), StringExternal("UI/AIBuild/OpenQuickName"), StringExternal("UI/AIBuild/OpenQuickTip"));
PlayerBeaconBuildMenuSetSlotInfo(i, c_buildMenuOpening, c_customBuildOpeningThree, StringExternal("UI/AIBuild/OpenPowerIcon"), StringExternal("UI/AIBuild/OpenPowerName"), StringExternal("UI/AIBuild/OpenPowerTip"));
PlayerBeaconBuildMenuSetSlotInfo(i, c_buildMenuOpening, c_customBuildOpeningFour, StringExternal("UI/AIBuild/OpenMacroIcon"), StringExternal("UI/AIBuild/OpenMacroName"), StringExternal("UI/AIBuild/OpenMacroTip"));
mods/core.sc2mod — base.sc2data/TriggerLibs/MeleeBuildAI.galaxy:85
PlayerBeaconBuildMenuSetSlotInfo(i, c_buildMenuOpening, c_customBuildOpeningTwo, StringExternal("UI/AIBuild/OpenQuickIcon"), StringExternal("UI/AIBuild/OpenQuickName"), StringExternal("UI/AIBuild/OpenQuickTip"));
PlayerBeaconBuildMenuSetSlotInfo(i, c_buildMenuOpening, c_customBuildOpeningThree, StringExternal("UI/AIBuild/OpenPowerIcon"), StringExternal("UI/AIBuild/OpenPowerName"), StringExternal("UI/AIBuild/OpenPowerTip"));
PlayerBeaconBuildMenuSetSlotInfo(i, c_buildMenuOpening, c_customBuildOpeningFour, StringExternal("UI/AIBuild/OpenMacroIcon"), StringExternal("UI/AIBuild/OpenMacroName"), StringExternal("UI/AIBuild/OpenMacroTip"));
// four late game choices
mods/core.sc2mod — base.sc2data/TriggerLibs/MeleeBuildAI.galaxy:88
// four late game choices
PlayerBeaconBuildMenuSetSlotInfo(i, c_buildMenuLateGame, c_customBuildLateGameOne, StringExternal("UI/AIBuild/LateCoreIcon"), StringExternal("UI/AIBuild/LateCoreName"), StringExternal("UI/AIBuild/LateCoreTip"));
PlayerBeaconBuildMenuSetSlotInfo(i, c_buildMenuLateGame, c_customBuildLateGameTwo, StringExternal("UI/AIBuild/LateTechIcon"), StringExternal("UI/AIBuild/LateTechName"), StringExternal("UI/AIBuild/LateTechTip"));
PlayerBeaconBuildMenuSetSlotInfo(i, c_buildMenuLateGame, c_customBuildLateGameThree, StringExternal("UI/AIBuild/LateAirIcon"), StringExternal("UI/AIBuild/LateAirName"), StringExternal("UI/AIBuild/LateAirTip"));
mods/core.sc2mod — base.sc2data/TriggerLibs/MeleeBuildAI.galaxy:89
// four late game choices
PlayerBeaconBuildMenuSetSlotInfo(i, c_buildMenuLateGame, c_customBuildLateGameOne, StringExternal("UI/AIBuild/LateCoreIcon"), StringExternal("UI/AIBuild/LateCoreName"), StringExternal("UI/AIBuild/LateCoreTip"));
PlayerBeaconBuildMenuSetSlotInfo(i, c_buildMenuLateGame, c_customBuildLateGameTwo, StringExternal("UI/AIBuild/LateTechIcon"), StringExternal("UI/AIBuild/LateTechName"), StringExternal("UI/AIBuild/LateTechTip"));
PlayerBeaconBuildMenuSetSlotInfo(i, c_buildMenuLateGame, c_customBuildLateGameThree, StringExternal("UI/AIBuild/LateAirIcon"), StringExternal("UI/AIBuild/LateAirName"), StringExternal("UI/AIBuild/LateAirTip"));
PlayerBeaconBuildMenuSetSlotInfo(i, c_buildMenuLateGame, c_customBuildLateGameFour, StringExternal("UI/AIBuild/LateSpecialIcon"), StringExternal("UI/AIBuild/LateSpecialName"), StringExternal("UI/AIBuild/LateSpecialTip"));
mods/core.sc2mod — base.sc2data/TriggerLibs/MeleeBuildAI.galaxy:90
PlayerBeaconBuildMenuSetSlotInfo(i, c_buildMenuLateGame, c_customBuildLateGameOne, StringExternal("UI/AIBuild/LateCoreIcon"), StringExternal("UI/AIBuild/LateCoreName"), StringExternal("UI/AIBuild/LateCoreTip"));
PlayerBeaconBuildMenuSetSlotInfo(i, c_buildMenuLateGame, c_customBuildLateGameTwo, StringExternal("UI/AIBuild/LateTechIcon"), StringExternal("UI/AIBuild/LateTechName"), StringExternal("UI/AIBuild/LateTechTip"));
PlayerBeaconBuildMenuSetSlotInfo(i, c_buildMenuLateGame, c_customBuildLateGameThree, StringExternal("UI/AIBuild/LateAirIcon"), StringExternal("UI/AIBuild/LateAirName"), StringExternal("UI/AIBuild/LateAirTip"));
PlayerBeaconBuildMenuSetSlotInfo(i, c_buildMenuLateGame, c_customBuildLateGameFour, StringExternal("UI/AIBuild/LateSpecialIcon"), StringExternal("UI/AIBuild/LateSpecialName"), StringExternal("UI/AIBuild/LateSpecialTip"));
mods/core.sc2mod — base.sc2data/TriggerLibs/MeleeBuildAI.galaxy:91
PlayerBeaconBuildMenuSetSlotInfo(i, c_buildMenuLateGame, c_customBuildLateGameTwo, StringExternal("UI/AIBuild/LateTechIcon"), StringExternal("UI/AIBuild/LateTechName"), StringExternal("UI/AIBuild/LateTechTip"));
PlayerBeaconBuildMenuSetSlotInfo(i, c_buildMenuLateGame, c_customBuildLateGameThree, StringExternal("UI/AIBuild/LateAirIcon"), StringExternal("UI/AIBuild/LateAirName"), StringExternal("UI/AIBuild/LateAirTip"));
PlayerBeaconBuildMenuSetSlotInfo(i, c_buildMenuLateGame, c_customBuildLateGameFour, StringExternal("UI/AIBuild/LateSpecialIcon"), StringExternal("UI/AIBuild/LateSpecialName"), StringExternal("UI/AIBuild/LateSpecialTip"));
// not using any custom beacons for now