# Set Game Menu Dialog Item Text

Grammar — Set the text of menuItem to __show|Text __for players
FlagsNative | Action

Sets the text of a specified menu item in the game menu. Allows customization of the F10 menu.

# Arguments

Returns — void

native void UISetGameMenuItemText(
	playergroup inPlayers,
	int inMenuItemType,
	text inText,
);

Category: UI / Game Menu

# Examples

campaigns/swarmstory.sc2campaignbase.sc2data/TriggerLibs/SwarmCampaignLib.galaxy:12750

        UISetGameMenuItemVisible(PlayerGroupAll(), c_gameMenuDialogAbortButton, true);
        if ((libSwaC_gv_zSX_IsSimulation == true)) {
            UISetGameMenuItemText(PlayerGroupAll(), c_gameMenuDialogAbortButton, StringExternal("Param/Value/lib_SwaC_3FE3B4E6"));
        }

campaigns/voidstory.sc2campaignbase.sc2data/TriggerLibs/VoidCampaignLib.galaxy:6592

        UISetGameMenuItemVisible(PlayerGroupAll(), c_gameMenuDialogAbortButton, true);
        if ((libVoiC_gv_pCX_IsSimulation == true)) {
            UISetGameMenuItemText(PlayerGroupAll(), c_gameMenuDialogAbortButton, StringExternal("Param/Value/lib_VoiC_462A52E0"));
        }
    }

mods/missionpacks/novacampaign.sc2modbase.sc2data/LibNovC.galaxy:2272

        UISetGameMenuItemVisible(PlayerGroupAll(), c_gameMenuDialogAbortButton, true);
        if ((libComC_gf_CC_TransitionInSimulation() == true)) {
            UISetGameMenuItemText(PlayerGroupAll(), c_gameMenuDialogAbortButton, StringExternal("Param/Value/lib_NovC_AA8623D0"));
        }
        else if ((lp_map == "Nova02")) {

mods/missionpacks/novacampaign.sc2modbase.sc2data/LibNovC.galaxy:2275

        }
        else if ((lp_map == "Nova02")) {
            UISetGameMenuItemText(PlayerGroupAll(), c_gameMenuDialogAbortButton, StringExternal("Param/Value/lib_NovC_F3B96077"));
        }
    }

mods/voidprologue.sc2modbase.sc2data/LibA3DDD02B.galaxy:5885

        UISetGameMenuItemVisible(PlayerGroupAll(), c_gameMenuDialogAbortButton, true);
        if ((libA3DDD02B_gv_pPX_IsSimulation == true)) {
            UISetGameMenuItemText(PlayerGroupAll(), c_gameMenuDialogAbortButton, StringExternal("Param/Value/lib_A3DDD02B_3FE3B4E6"));
        }