# Convert Game Hotkey
Grammar — Game hotkey for path
Flags —Native
|Function
Look up the game hotkey value for the specified string path.
# Arguments
string
— Path
Returns — text
native text StringExternalHotkey(string s);
# Related
Category: String / Formatting
- Convert Time To Text —
text
— TextTimeFormat - Convert String Case —
string
— StringCase - Convert Text Case —
text
— TextCase - Convert Game Text —
text
— StringExternal - Convert Game Hotkey —
text
— StringExternalHotkey - Convert Game Asset —
text
— StringExternalAsset - Text With Color —
text
— TextWithColor - Set Text Expression Token —
void
— TextExpressionSetToken - Text Expression —
text
— TextExpressionAssemble
# Examples
campaigns/voidstory.sc2campaign — base.sc2data/TriggerLibs/VoidCampaignUILib.galaxy:1703
if ((libVoiC_gf_StoryInSimulation() == true)) {
PlanetPanelSetBackButtonText(PlayerGroupAll(), StringExternal("UI/VoidStoryBack"));
PlanetPanelSetBackButtonShortcut(PlayerGroupAll(), StringExternalHotkey("Button/Hotkey/MissionPanelBack"));
}
else {
campaigns/voidstory.sc2campaign — base.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"));
}