# Convert Game Hotkey

Grammar — Game hotkey for path
FlagsNative | Function

Look up the game hotkey value for the specified string path.

# Arguments

  • string — Path

Returns — text

native text StringExternalHotkey(string s);

Category: String / Formatting

# Examples

campaigns/voidstory.sc2campaignbase.sc2data/TriggerLibs/VoidCampaignUILib.galaxy:1703

    if ((libVoiC_gf_StoryInSimulation() == true)) {
        PlanetPanelSetBackButtonText(PlayerGroupAll(), StringExternal("UI/VoidStoryBack"));
        PlanetPanelSetBackButtonShortcut(PlayerGroupAll(), StringExternalHotkey("Button/Hotkey/MissionPanelBack"));
    }
    else {

campaigns/voidstory.sc2campaignbase.sc2data/TriggerLibs/VoidCampaignUILib.galaxy:1707

    else {
        PlanetPanelSetBackButtonText(PlayerGroupAll(), StringExternal("UI/VoidStoryQuit"));
        PlanetPanelSetBackButtonShortcut(PlayerGroupAll(), StringExternalHotkey("UI/Hotkey/StoryQuit"));
        PlanetPanelSetBackButtonTooltip(PlayerGroupAll(), StringExternal("ConversationState/MissionPanelTooltips/Quit_Button/Info/Description"));
    }