# Display Custom Dialog

Grammar — Display a type custom dialog with Title title and Text text for players (pause game)
FlagsNative | Action

Displays a custom dialog. Message Dialogs are informational only and will always have a result of yes. Query dialogs provide the player with a yes or no option.

# Arguments

Returns — void

native void UIShowCustomDialog(
	playergroup inPlayers,
	int inType,
	text inTitle,
	text inText,
	bool pause,
);

Category: UI / Custom Dialog

# Examples

# campaigns/liberty.sc2campaign

MapScript.galaxy

// L8438
UIShowCustomDialog(PlayerGroupAll(), 1, StringExternal("Param/Value/2D8B36F5"), StringExternal("Param/Value/B690D296"), true)
// L3529
UIShowCustomDialog(lp_players, libNtve_ge_CustomDialogType_c_customDialogTypeQuery, StringToText(""), lp_show, lp_show2)
// L24563
UIShowCustomDialog(PlayerGroupAll(), libNtve_ge_CustomDialogType_c_customDialogTypeQuery, StringExternal("Param/Value/0A7FFDFF"), StringToText(""), true)
// L24913
UIShowCustomDialog(PlayerGroupAll(), libNtve_ge_CustomDialogType_c_customDialogTypeMessage, ConversationDataStateText("LabResearchText|LabResearchText01", "Text"), (ConversationDataStateText("LabResearchText|LabResearchText02", "Text") + libCamp_gf_FormatCredits(libCamp_gf_StoryResearchCreditsPerPoint(), false) + ConversationDataStateText("LabResearchText|LabResearchText03", "Text")), true)
// L24926
UIShowCustomDialog(PlayerGroupAll(), libNtve_ge_CustomDialogType_c_customDialogTypeMessage, ConversationDataStateText("LabResearchText|LabResearchText04", "Text"), (ConversationDataStateText("LabResearchText|LabResearchText05", "Text") + libCamp_gf_FormatCredits(libCamp_gf_StoryResearchCreditsPerPoint(), false) + ConversationDataStateText("LabResearchText|LabResearchText06", "Text") + StringExternal("Param/Value/22129F48") + ConversationDataStateText("LabResearchText|LabResearchText07", "Text") + libCamp_gf_FormatCredits(gv_labResearch_ConvertProtoss, false) + ConversationDataStateText("LabResearchText|LabResearchText15", "Text")), true)
// L24937
UIShowCustomDialog(PlayerGroupAll(), libNtve_ge_CustomDialogType_c_customDialogTypeMessage, ConversationDataStateText("LabResearchText|LabResearchText08", "Text"), (ConversationDataStateText("LabResearchText|LabResearchText09", "Text") + libCamp_gf_FormatCredits(libCamp_gf_StoryResearchCreditsPerPoint(), false) + ConversationDataStateText("LabResearchText|LabResearchText10", "Text")), true)
// L24950
UIShowCustomDialog(PlayerGroupAll(), libNtve_ge_CustomDialogType_c_customDialogTypeMessage, ConversationDataStateText("LabResearchText|LabResearchText11", "Text"), (ConversationDataStateText("LabResearchText|LabResearchText12", "Text") + libCamp_gf_FormatCredits(libCamp_gf_StoryResearchCreditsPerPoint(), false) + ConversationDataStateText("LabResearchText|LabResearchText13", "Text") + StringExternal("Param/Value/785C8705") + ConversationDataStateText("LabResearchText|LabResearchText14", "Text") + libCamp_gf_FormatCredits(gv_labResearch_ConvertZerg, false) + ConversationDataStateText("LabResearchText|LabResearchText16", "Text")), true)
// L25114
UIShowCustomDialog(PlayerGroupAll(), libNtve_ge_CustomDialogType_c_customDialogTypeQuery, StringExternal("Param/Value/5D9C6F28"), StringExternal("Param/Value/3A7F4C53"), true)
// L8438
UIShowCustomDialog(PlayerGroupAll(), 1, StringExternal("Param/Value/2D8B36F5"), StringExternal("Param/Value/B690D296"), true)
// L3529
UIShowCustomDialog(lp_players, libNtve_ge_CustomDialogType_c_customDialogTypeQuery, StringToText(""), lp_show, lp_show2)
// L24563
UIShowCustomDialog(PlayerGroupAll(), libNtve_ge_CustomDialogType_c_customDialogTypeQuery, StringExternal("Param/Value/0A7FFDFF"), StringToText(""), true)
// L24913
UIShowCustomDialog(PlayerGroupAll(), libNtve_ge_CustomDialogType_c_customDialogTypeMessage, ConversationDataStateText("LabResearchText|LabResearchText01", "Text"), (ConversationDataStateText("LabResearchText|LabResearchText02", "Text") + libCamp_gf_FormatCredits(libCamp_gf_StoryResearchCreditsPerPoint(), false) + ConversationDataStateText("LabResearchText|LabResearchText03", "Text")), true)
// L24926
UIShowCustomDialog(PlayerGroupAll(), libNtve_ge_CustomDialogType_c_customDialogTypeMessage, ConversationDataStateText("LabResearchText|LabResearchText04", "Text"), (ConversationDataStateText("LabResearchText|LabResearchText05", "Text") + libCamp_gf_FormatCredits(libCamp_gf_StoryResearchCreditsPerPoint(), false) + ConversationDataStateText("LabResearchText|LabResearchText06", "Text") + StringExternal("Param/Value/22129F48") + ConversationDataStateText("LabResearchText|LabResearchText07", "Text") + libCamp_gf_FormatCredits(gv_labResearch_ConvertProtoss, false) + ConversationDataStateText("LabResearchText|LabResearchText15", "Text")), true)
// L24937
UIShowCustomDialog(PlayerGroupAll(), libNtve_ge_CustomDialogType_c_customDialogTypeMessage, ConversationDataStateText("LabResearchText|LabResearchText08", "Text"), (ConversationDataStateText("LabResearchText|LabResearchText09", "Text") + libCamp_gf_FormatCredits(libCamp_gf_StoryResearchCreditsPerPoint(), false) + ConversationDataStateText("LabResearchText|LabResearchText10", "Text")), true)
// L24950
UIShowCustomDialog(PlayerGroupAll(), libNtve_ge_CustomDialogType_c_customDialogTypeMessage, ConversationDataStateText("LabResearchText|LabResearchText11", "Text"), (ConversationDataStateText("LabResearchText|LabResearchText12", "Text") + libCamp_gf_FormatCredits(libCamp_gf_StoryResearchCreditsPerPoint(), false) + ConversationDataStateText("LabResearchText|LabResearchText13", "Text") + StringExternal("Param/Value/785C8705") + ConversationDataStateText("LabResearchText|LabResearchText14", "Text") + libCamp_gf_FormatCredits(gv_labResearch_ConvertZerg, false) + ConversationDataStateText("LabResearchText|LabResearchText16", "Text")), true)
// L25114
UIShowCustomDialog(PlayerGroupAll(), libNtve_ge_CustomDialogType_c_customDialogTypeQuery, StringExternal("Param/Value/5D9C6F28"), StringExternal("Param/Value/3A7F4C53"), true)

# campaigns/libertystory.sc2campaign

CampaignLib.galaxy

// L12408
UIShowCustomDialog(PlayerGroupAll(), libNtve_ge_CustomDialogType_c_customDialogTypeMessage, StringExternal("Param/Value/lib_Camp_EE77B639"), StringExternal("Param/Value/lib_Camp_6FCAE647"), true)

# campaigns/swarmstory.sc2campaign

SwarmCampaignLib.galaxy

// L22020
UIShowCustomDialog(PlayerGroupAll(), libNtve_ge_CustomDialogType_c_customDialogTypeMessage, StringExternal("Param/Value/lib_SwaC_4031BB5C"), null, false)

# campaigns/swarmstoryutil.sc2mod

Lib281DEC45.galaxy

// L843
UIShowCustomDialog(PlayerGroupAll(), libNtve_ge_CustomDialogType_c_customDialogTypeMessage, ConversationDataStateText("StoryModeText|UberArchivesIntroTitle", "Description"), TextExpressionAssemble("Param/Expression/lib_281DEC45_3B6081C9"), true)
// L6400
UIShowCustomDialog(PlayerGroupAll(), libNtve_ge_CustomDialogType_c_customDialogTypeQuery, StringExternal("Param/Value/lib_281DEC45_5ADD08C4"), StringToText(""), true)
// L6927
UIShowCustomDialog(PlayerGroupAll(), libNtve_ge_CustomDialogType_c_customDialogTypeQuery, StringExternal("Param/Value/lib_281DEC45_501B0A5D"), StringToText(""), true)
// L8145
UIShowCustomDialog(PlayerGroupAll(), libNtve_ge_CustomDialogType_c_customDialogTypeQuery, TextExpressionAssemble("Param/Expression/lib_281DEC45_AB263B6E"), StringToText(""), true)

# campaigns/voidstory.sc2campaign

VoidCampaignLib.galaxy

// L9297
UIShowCustomDialog(PlayerGroupAll(), libNtve_ge_CustomDialogType_c_customDialogTypeMessage, StringExternal("Param/Value/lib_VoiC_8BDD7FCF"), null, false)
// L9389
UIShowCustomDialog(PlayerGroupAll(), libNtve_ge_CustomDialogType_c_customDialogTypeMessage, StringExternal("Param/Value/lib_VoiC_61FAE583"), null, false)

# campaigns/voidstory.sc2campaign

VoidCampaignUILib.galaxy

// L1429
UIShowCustomDialog(PlayerGroupAll(), libNtve_ge_CustomDialogType_c_customDialogTypeMessage, ConversationDataStateText("StoryModeText|MasterArchivesIntroTitle", "Description"), TextExpressionAssemble("Param/Expression/lib_VCUI_F859D055"), true)
// L7296
UIShowCustomDialog(PlayerGroupAll(), libNtve_ge_CustomDialogType_c_customDialogTypeQuery, StringExternal("Param/Value/lib_VCUI_8ADEBB47"), StringToText(""), true)
// L7904
UIShowCustomDialog(PlayerGroupAll(), libNtve_ge_CustomDialogType_c_customDialogTypeQuery, StringExternal("Param/Value/lib_VCUI_5C3EE85B"), StringToText(""), true)
// L8759
UIShowCustomDialog(PlayerGroupAll(), libNtve_ge_CustomDialogType_c_customDialogTypeQuery, StringExternal("Param/Value/lib_VCUI_B359FEC6"), null, true)

# mods/heroesdata.stormmod

StartingExperienceLib.galaxy

// L1878
UIShowCustomDialog(libCore_gv_playerGroupFromPlayer[libStEx_gv_pLAYER_01_USER], libNtve_ge_CustomDialogType_c_customDialogTypeQuery, StringExternal("Param/Value/lib_StEx_DCBF9B21"), lp_question, true)

# mods/missionpacks/novacampaign.sc2mod

LibNCUI.galaxy

// L557
UIShowCustomDialog(PlayerGroupAll(), libNtve_ge_CustomDialogType_c_customDialogTypeMessage, ConversationDataStateText("StoryModeText|MasterArchivesIntroTitle", "Description"), TextExpressionAssemble("Param/Expression/lib_NCUI_F859D055"), true)
// L5737
UIShowCustomDialog(PlayerGroupAll(), libNtve_ge_CustomDialogType_c_customDialogTypeQuery, StringExternal("Param/Value/lib_NCUI_5C3EE85B"), StringToText(""), true)

# mods/missionpacks/novacampaign.sc2mod

LibNovC.galaxy

// L2458
UIShowCustomDialog(PlayerGroupAll(), libNtve_ge_CustomDialogType_c_customDialogTypeMessage, StringExternal("Param/Value/lib_NovC_F558D81E"), null, true)
// L2984
UIShowCustomDialog(PlayerGroupAll(), libNtve_ge_CustomDialogType_c_customDialogTypeMessage, StringExternal("Param/Value/lib_NovC_8BDD7FCF"), null, false)
// L3075
UIShowCustomDialog(PlayerGroupAll(), libNtve_ge_CustomDialogType_c_customDialogTypeMessage, StringExternal("Param/Value/lib_NovC_61FAE583"), null, false)

# mods/starcoop/starcoop.sc2mod

LibCOOC.galaxy

// L4686
UIShowCustomDialog(PlayerGroupAll(), libNtve_ge_CustomDialogType_c_customDialogTypeMessage, null, StringExternal("Param/Value/lib_COOC_2E34F462"), true)

# mods/voidprologue.sc2mod

LibA3DDD02B.galaxy

// L9196
UIShowCustomDialog(PlayerGroupAll(), libNtve_ge_CustomDialogType_c_customDialogTypeQuery, StringExternal("Param/Value/lib_A3DDD02B_2C050394"), StringToText(""), true)