# Name Of Campaign Difficulty Level
Grammar — Campaign Name of difficulty level difficulty
Flags —Native
|Function
Returns the campaign name of the difficulty level.
# Arguments
int
<difficulty> — Difficulty
Returns — text
native text DifficultyNameCampaign(int inDifficulty);
# Related
Category: Player / Difficulty Levels
- Set Player Difficulty Level —
void
— PlayerSetDifficulty - Difficulty Level For Player —
int
<difficulty> — PlayerDifficulty - Difficulty Level Is Enabled —
bool
— DifficultyEnabled - Name Of Difficulty Level —
text
— DifficultyName - Name Of Campaign Difficulty Level —
text
— DifficultyNameCampaign - APM Of Difficulty Level —
int
— DifficultyAPM
# Examples
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tstory01.sc2map/MapScript.galaxy:10470
if ((DifficultyEnabled(lp_difficulty) == true)) {
gv_zPlanetPanel_DropdownDifficultyCount += 1;
DialogControlAddItem(DialogControlLastCreated(), PlayerGroupAll(), TextCase(DifficultyNameCampaign(lp_difficulty), true));
gv_zPlanetPanel_DropdownDifficultyIndexToDifficulty[gv_zPlanetPanel_DropdownDifficultyCount] = lp_difficulty;
}
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tstory01.sc2map — MapScript.galaxy:10470
if ((DifficultyEnabled(lp_difficulty) == true)) {
gv_zPlanetPanel_DropdownDifficultyCount += 1;
DialogControlAddItem(DialogControlLastCreated(), PlayerGroupAll(), TextCase(DifficultyNameCampaign(lp_difficulty), true));
gv_zPlanetPanel_DropdownDifficultyIndexToDifficulty[gv_zPlanetPanel_DropdownDifficultyCount] = lp_difficulty;
}
campaigns/libertystory.sc2campaign — base.sc2data/TriggerLibs/CampaignLib.galaxy:8429
// Implementation
TriggerDebugOutput(1, (StringExternal("Param/Value/lib_Camp_6291DFB9") + libNtve_gf_ConvertBooleanToText((lp_resultFromVictory == c_gameOverVictory)) + StringExternal("Param/Value/lib_Camp_C1F1A5CC") + DifficultyNameCampaign(lp_difficulty)), false);
lv_isActuallyVictory = ((lp_resultFromVictory == c_gameOverVictory) || libCamp_gv_tSX_IsVictoryPlayAgain);
if ((libCamp_gv_tSX_IsSimulation == false) && (libCamp_gf_MapTypeCheck(libCamp_gf_TS_MapIDFromIndex(libCamp_gv_tS_CurrentMap), libCamp_ge_MapType_Mission) == true) && (lv_isActuallyVictory == true)) {
campaigns/libertystory.sc2campaign — base.sc2data/TriggerLibs/CampaignLib.galaxy:10192
if ((libCamp_gf_MissionStatusCheck(libCamp_ge_MapID_MapTValerian03, libCamp_ge_MissionStatus_Completed) == true)) {
lv_body = (StringExternal("Param/Value/lib_Camp_8BB9EC51") + StringExternal("Param/Value/lib_Camp_4963E425") + StringExternal("Param/Value/lib_Camp_FAD183E6") + ConversationDataStateText(libCamp_gf_TS_MapConvoID(lp_mission), "Loading Screen Text") + StringExternal("Param/Value/lib_Camp_A998EBD1") + StringExternal("Param/Value/lib_Camp_4D8E2A14") + IntToText(libCamp_gf_NumberOfMissions(libCamp_ge_MissionCountOptions_Completed)) + StringExternal("Param/Value/lib_Camp_EDBD02C1") + StringExternal("Param/Value/lib_Camp_3CD91EF8") + DifficultyNameCampaign(libCamp_gf_TS_CampaignDifficulty()));
CampaignProgressSetImageFilePath(PlayerGroupAll(), lv_campaignID, "Assets\\Textures\\ui_bnet_singleplayer_complete_bg.dds");
}
campaigns/libertystory.sc2campaign — base.sc2data/TriggerLibs/CampaignLib.galaxy:10196
}
else {
lv_body = (StringExternal("Param/Value/lib_Camp_3B2B1EC4") + libCamp_gf_MissionNameInUpperCase(lp_mission) + StringExternal("Param/Value/lib_Camp_25ED2E6B") + ConversationDataStateText(libCamp_gf_TS_MapConvoID(lp_mission), "Loading Screen Text") + StringExternal("Param/Value/lib_Camp_7B263EC6") + StringExternal("Param/Value/lib_Camp_19D34994") + IntToText(libCamp_gf_NumberOfMissions(libCamp_ge_MissionCountOptions_Completed)) + StringExternal("Param/Value/lib_Camp_3EEC58DF") + StringExternal("Param/Value/lib_Camp_A047780C") + DifficultyNameCampaign(libCamp_gf_TS_CampaignDifficulty()));
CampaignProgressSetImageFilePath(PlayerGroupAll(), lv_campaignID, libCamp_gf_MissionLoadingScreenImage(lp_mission));
}
campaigns/libertystory.sc2campaign — base.sc2data/TriggerLibs/CampaignLib.galaxy:14171
}
UIDisplayMessage(PlayerGroupAll(), c_messageAreaSubtitle, DifficultyNameCampaign(PlayerDifficulty(EventPlayer())));
return true;
}
campaigns/swarmstory.sc2campaign — base.sc2data/TriggerLibs/SwarmCampaignLib.galaxy:13263
TextExpressionSetToken("Param/Expression/lib_SwaC_FAA2A2EC", "A", UserDataGetText("Planets", libSwaC_gf_ZS_PlanetUserData(libSwaC_gf_StoryMapPlanet(libSwaC_gf_CurrentMap())), "Travel Summary", lv_index));
TextExpressionSetToken("Param/Expression/lib_SwaC_FAA2A2EC", "B", IntToText(libSwaC_gf_NumberOfMissionsAll(libSwaC_ge_MissionCountOptions_Completed)));
TextExpressionSetToken("Param/Expression/lib_SwaC_FAA2A2EC", "C", DifficultyNameCampaign(libSwaC_gv_zSX_CampaignDifficulty));
CampaignProgressSetText(PlayerGroupAll(), lv_campaignID, TextExpressionAssemble("Param/Expression/lib_SwaC_FAA2A2EC"));
CampaignProgressSetCampaignFinished(PlayerGroupAll(), lv_campaignID, false);
campaigns/swarmstory.sc2campaign — base.sc2data/TriggerLibs/SwarmCampaignLib.galaxy:13281
TextExpressionSetToken("Param/Expression/lib_SwaC_E1EDAD1C", "SUMMARY", libSwaC_gf_StoryMapHelp2("ZKorhal3"));
TextExpressionSetToken("Param/Expression/lib_SwaC_E1EDAD1C", "MISSIONSCOMPLETE", IntToText(libSwaC_gf_NumberOfMissionsAll(libSwaC_ge_MissionCountOptions_Completed)));
TextExpressionSetToken("Param/Expression/lib_SwaC_E1EDAD1C", "DIFFICULTY", DifficultyNameCampaign(libSwaC_gv_zSX_CampaignDifficulty));
CampaignProgressSetText(PlayerGroupAll(), lv_campaignID, TextExpressionAssemble("Param/Expression/lib_SwaC_E1EDAD1C"));
CampaignProgressSetCampaignFinished(PlayerGroupAll(), lv_campaignID, true);
campaigns/swarmstory.sc2campaign — base.sc2data/TriggerLibs/SwarmCampaignLib.galaxy:13290
TextExpressionSetToken("Param/Expression/lib_SwaC_EC86CC32", "A", libSwaC_gf_StoryMapHelp2(lp_mission));
TextExpressionSetToken("Param/Expression/lib_SwaC_EC86CC32", "B", IntToText(libSwaC_gf_NumberOfMissionsAll(libSwaC_ge_MissionCountOptions_Completed)));
TextExpressionSetToken("Param/Expression/lib_SwaC_EC86CC32", "C", DifficultyNameCampaign(libSwaC_gv_zSX_CampaignDifficulty));
CampaignProgressSetText(PlayerGroupAll(), lv_campaignID, TextExpressionAssemble("Param/Expression/lib_SwaC_EC86CC32"));
CampaignProgressSetCampaignFinished(PlayerGroupAll(), lv_campaignID, false);
campaigns/swarmstory.sc2campaign — base.sc2data/TriggerLibs/SwarmCampaignLib.galaxy:14330
libNtve_gf_SetDialogItemText(libSwaC_gv_zS_VSLabelMissionTitle, libSwaC_gf_StoryMapName(lp_mission), PlayerGroupAll());
TextExpressionSetToken("Param/Expression/lib_SwaC_A0CC05A2", "MISSIONTITLE", libSwaC_gf_StoryMapName(lp_mission));
TextExpressionSetToken("Param/Expression/lib_SwaC_A0CC05A2", "DIFFICULTYTITLE", DifficultyNameCampaign(PlayerDifficulty(1)));
libNtve_gf_SetDialogItemText(libSwaC_gv_zS_VSLabelMissionTitle, TextExpressionAssemble("Param/Expression/lib_SwaC_A0CC05A2"), PlayerGroupAll());
libNtve_gf_SetDialogItemText(libSwaC_gv_zS_VSLabelTime, libSwaC_gf_FormatTimeCampaign(libSwaC_gv_zS_MissionCompleteTime), PlayerGroupAll());
campaigns/swarmstory.sc2campaign — base.sc2data/TriggerLibs/SwarmCampaignLib.galaxy:14421
lv_index = 1;
for ( ; ( (autoD91E53D5_ai >= 0 && lv_index <= autoD91E53D5_ae) || (autoD91E53D5_ai < 0 && lv_index >= autoD91E53D5_ae) ) ; lv_index += autoD91E53D5_ai ) {
DialogControlAddItem(libSwaC_gv_zS_VSRestartDifficultyPulldown, PlayerGroupAll(), DifficultyNameCampaign(libSwaC_gf_ZS_DifficultyFromIndex(lv_index)));
}
DialogControlHookup(libSwaC_gv_zS_VSRestartPanel, c_triggerControlTypePanel, "RestartButton");
campaigns/swarmstoryutil.sc2mod — base.sc2data/Lib281DEC45.galaxy:933
libNtve_gf_SetDialogItemStyle(lib281DEC45_gv_zSS_UIArchivesDifficultyTimes[4], "SwarmMissionArchiveDifficultyTimeLabel", PlayerGroupAll());
}
libNtve_gf_SetDialogItemText(lib281DEC45_gv_zSS_UIArchivesDifficultyLabels[1], DifficultyNameCampaign(1), PlayerGroupAll());
libNtve_gf_SetDialogItemText(lib281DEC45_gv_zSS_UIArchivesDifficultyTimes[1], libSwaC_gf_FormatTimeCampaign(MaxI(libSwaC_gf_MissionCompleteBestTime(lv_mission, 1), 0)), PlayerGroupAll());
libNtve_gf_SetDialogItemText(lib281DEC45_gv_zSS_UIArchivesDifficultyLabels[2], DifficultyNameCampaign(2), PlayerGroupAll());
campaigns/swarmstoryutil.sc2mod — base.sc2data/Lib281DEC45.galaxy:935
libNtve_gf_SetDialogItemText(lib281DEC45_gv_zSS_UIArchivesDifficultyLabels[1], DifficultyNameCampaign(1), PlayerGroupAll());
libNtve_gf_SetDialogItemText(lib281DEC45_gv_zSS_UIArchivesDifficultyTimes[1], libSwaC_gf_FormatTimeCampaign(MaxI(libSwaC_gf_MissionCompleteBestTime(lv_mission, 1), 0)), PlayerGroupAll());
libNtve_gf_SetDialogItemText(lib281DEC45_gv_zSS_UIArchivesDifficultyLabels[2], DifficultyNameCampaign(2), PlayerGroupAll());
libNtve_gf_SetDialogItemText(lib281DEC45_gv_zSS_UIArchivesDifficultyTimes[2], libSwaC_gf_FormatTimeCampaign(MaxI(libSwaC_gf_MissionCompleteBestTime(lv_mission, 2), 0)), PlayerGroupAll());
libNtve_gf_SetDialogItemText(lib281DEC45_gv_zSS_UIArchivesDifficultyLabels[3], DifficultyNameCampaign(3), PlayerGroupAll());
campaigns/swarmstoryutil.sc2mod — base.sc2data/Lib281DEC45.galaxy:937
libNtve_gf_SetDialogItemText(lib281DEC45_gv_zSS_UIArchivesDifficultyLabels[2], DifficultyNameCampaign(2), PlayerGroupAll());
libNtve_gf_SetDialogItemText(lib281DEC45_gv_zSS_UIArchivesDifficultyTimes[2], libSwaC_gf_FormatTimeCampaign(MaxI(libSwaC_gf_MissionCompleteBestTime(lv_mission, 2), 0)), PlayerGroupAll());
libNtve_gf_SetDialogItemText(lib281DEC45_gv_zSS_UIArchivesDifficultyLabels[3], DifficultyNameCampaign(3), PlayerGroupAll());
libNtve_gf_SetDialogItemText(lib281DEC45_gv_zSS_UIArchivesDifficultyTimes[3], libSwaC_gf_FormatTimeCampaign(MaxI(libSwaC_gf_MissionCompleteBestTime(lv_mission, 3), 0)), PlayerGroupAll());
libNtve_gf_SetDialogItemText(lib281DEC45_gv_zSS_UIArchivesDifficultyLabels[4], DifficultyNameCampaign(4), PlayerGroupAll());
campaigns/swarmstoryutil.sc2mod — base.sc2data/Lib281DEC45.galaxy:939
libNtve_gf_SetDialogItemText(lib281DEC45_gv_zSS_UIArchivesDifficultyLabels[3], DifficultyNameCampaign(3), PlayerGroupAll());
libNtve_gf_SetDialogItemText(lib281DEC45_gv_zSS_UIArchivesDifficultyTimes[3], libSwaC_gf_FormatTimeCampaign(MaxI(libSwaC_gf_MissionCompleteBestTime(lv_mission, 3), 0)), PlayerGroupAll());
libNtve_gf_SetDialogItemText(lib281DEC45_gv_zSS_UIArchivesDifficultyLabels[4], DifficultyNameCampaign(4), PlayerGroupAll());
libNtve_gf_SetDialogItemText(lib281DEC45_gv_zSS_UIArchivesDifficultyTimes[4], libSwaC_gf_FormatTimeCampaign(MaxI(libSwaC_gf_MissionCompleteBestTime(lv_mission, 4), 0)), PlayerGroupAll());
}
campaigns/voidstory.sc2campaign — base.sc2data/TriggerLibs/VoidCampaignLib.galaxy:6802
TextExpressionSetToken("Param/Expression/lib_VoiC_8B2DEB44", "SUMMARY", libVoiC_gf_StoryMapHelp2("PAiur06"));
TextExpressionSetToken("Param/Expression/lib_VoiC_8B2DEB44", "MISSIONSCOMPLETE", IntToText(libVoiC_gf_NumberOfLotVMissions(libVoiC_ge_MissionCountOptions_Completed)));
TextExpressionSetToken("Param/Expression/lib_VoiC_8B2DEB44", "DIFFICULTY", DifficultyNameCampaign(libVoiC_gv_pCX_CampaignDifficulty));
CampaignProgressSetText(PlayerGroupAll(), lv_campaignID, TextExpressionAssemble("Param/Expression/lib_VoiC_8B2DEB44"));
CampaignProgressSetImageFilePath(PlayerGroupAll(), lv_campaignID, "Assets\\Textures\\ui_battlenet_glue_campaign_mapicon_void_finish.dds");
campaigns/voidstory.sc2campaign — base.sc2data/TriggerLibs/VoidCampaignLib.galaxy:6811
TextExpressionSetToken("Param/Expression/lib_VoiC_B282D0C8", "A", libVoiC_gf_StoryMapHelp2(lp_mission));
TextExpressionSetToken("Param/Expression/lib_VoiC_B282D0C8", "B", IntToText(libVoiC_gf_NumberOfLotVMissions(libVoiC_ge_MissionCountOptions_Completed)));
TextExpressionSetToken("Param/Expression/lib_VoiC_B282D0C8", "C", DifficultyNameCampaign(libVoiC_gv_pCX_CampaignDifficulty));
CampaignProgressSetText(PlayerGroupAll(), lv_campaignID, TextExpressionAssemble("Param/Expression/lib_VoiC_B282D0C8"));
CampaignProgressSetCampaignFinished(PlayerGroupAll(), lv_campaignID, false);
campaigns/voidstory.sc2campaign — base.sc2data/TriggerLibs/VoidCampaignLib.galaxy:6826
TextExpressionSetToken("Param/Expression/lib_VoiC_D9FD915B", "SUMMARY", libVoiC_gf_StoryMapHelp2("SC2Epilogue03"));
TextExpressionSetToken("Param/Expression/lib_VoiC_D9FD915B", "MISSIONSCOMPLETE", IntToText(libVoiC_gf_NumberOfEpilogueMissions(libVoiC_ge_MissionCountOptions_Completed)));
TextExpressionSetToken("Param/Expression/lib_VoiC_D9FD915B", "DIFFICULTY", DifficultyNameCampaign(libVoiC_gv_pCX_CampaignDifficulty));
CampaignProgressSetText(PlayerGroupAll(), lv_campaignID2, TextExpressionAssemble("Param/Expression/lib_VoiC_D9FD915B"));
CampaignProgressSetImageFilePath(PlayerGroupAll(), lv_campaignID2, "Assets\\Textures\\ui_battlenet_glue_campaign_mapicon_epilogue_finish.dds");
campaigns/voidstory.sc2campaign — base.sc2data/TriggerLibs/VoidCampaignLib.galaxy:6835
TextExpressionSetToken("Param/Expression/lib_VoiC_71A9CDC5", "A", libVoiC_gf_StoryMapHelp2(lp_mission));
TextExpressionSetToken("Param/Expression/lib_VoiC_71A9CDC5", "B", IntToText(libVoiC_gf_NumberOfEpilogueMissions(libVoiC_ge_MissionCountOptions_Completed)));
TextExpressionSetToken("Param/Expression/lib_VoiC_71A9CDC5", "C", DifficultyNameCampaign(libVoiC_gv_pCX_CampaignDifficulty));
CampaignProgressSetText(PlayerGroupAll(), lv_campaignID2, TextExpressionAssemble("Param/Expression/lib_VoiC_71A9CDC5"));
CampaignProgressSetCampaignFinished(PlayerGroupAll(), lv_campaignID2, false);
campaigns/voidstory.sc2campaign — base.sc2data/TriggerLibs/VoidCampaignUILib.galaxy:1508
}
}
libNtve_gf_SetDialogItemText(libVCUI_gv_pU_ArchivesDifficultyLabels[1], DifficultyNameCampaign(1), PlayerGroupAll());
libNtve_gf_SetDialogItemText(libVCUI_gv_pU_ArchivesDifficultyTimes[1], libVoiC_gf_FormatTimeCampaign(libVoiC_gf_MissionCompleteBestTime(lv_selectedMission, 1)), PlayerGroupAll());
libNtve_gf_SetDialogItemText(libVCUI_gv_pU_ArchivesDifficultyLabels[2], DifficultyNameCampaign(2), PlayerGroupAll());
campaigns/voidstory.sc2campaign — base.sc2data/TriggerLibs/VoidCampaignUILib.galaxy:1510
libNtve_gf_SetDialogItemText(libVCUI_gv_pU_ArchivesDifficultyLabels[1], DifficultyNameCampaign(1), PlayerGroupAll());
libNtve_gf_SetDialogItemText(libVCUI_gv_pU_ArchivesDifficultyTimes[1], libVoiC_gf_FormatTimeCampaign(libVoiC_gf_MissionCompleteBestTime(lv_selectedMission, 1)), PlayerGroupAll());
libNtve_gf_SetDialogItemText(libVCUI_gv_pU_ArchivesDifficultyLabels[2], DifficultyNameCampaign(2), PlayerGroupAll());
libNtve_gf_SetDialogItemText(libVCUI_gv_pU_ArchivesDifficultyTimes[2], libVoiC_gf_FormatTimeCampaign(libVoiC_gf_MissionCompleteBestTime(lv_selectedMission, 2)), PlayerGroupAll());
libNtve_gf_SetDialogItemText(libVCUI_gv_pU_ArchivesDifficultyLabels[3], DifficultyNameCampaign(3), PlayerGroupAll());
campaigns/voidstory.sc2campaign — base.sc2data/TriggerLibs/VoidCampaignUILib.galaxy:1512
libNtve_gf_SetDialogItemText(libVCUI_gv_pU_ArchivesDifficultyLabels[2], DifficultyNameCampaign(2), PlayerGroupAll());
libNtve_gf_SetDialogItemText(libVCUI_gv_pU_ArchivesDifficultyTimes[2], libVoiC_gf_FormatTimeCampaign(libVoiC_gf_MissionCompleteBestTime(lv_selectedMission, 2)), PlayerGroupAll());
libNtve_gf_SetDialogItemText(libVCUI_gv_pU_ArchivesDifficultyLabels[3], DifficultyNameCampaign(3), PlayerGroupAll());
libNtve_gf_SetDialogItemText(libVCUI_gv_pU_ArchivesDifficultyTimes[3], libVoiC_gf_FormatTimeCampaign(libVoiC_gf_MissionCompleteBestTime(lv_selectedMission, 3)), PlayerGroupAll());
libNtve_gf_SetDialogItemText(libVCUI_gv_pU_ArchivesDifficultyLabels[4], DifficultyNameCampaign(4), PlayerGroupAll());
campaigns/voidstory.sc2campaign — base.sc2data/TriggerLibs/VoidCampaignUILib.galaxy:1514
libNtve_gf_SetDialogItemText(libVCUI_gv_pU_ArchivesDifficultyLabels[3], DifficultyNameCampaign(3), PlayerGroupAll());
libNtve_gf_SetDialogItemText(libVCUI_gv_pU_ArchivesDifficultyTimes[3], libVoiC_gf_FormatTimeCampaign(libVoiC_gf_MissionCompleteBestTime(lv_selectedMission, 3)), PlayerGroupAll());
libNtve_gf_SetDialogItemText(libVCUI_gv_pU_ArchivesDifficultyLabels[4], DifficultyNameCampaign(4), PlayerGroupAll());
libNtve_gf_SetDialogItemText(libVCUI_gv_pU_ArchivesDifficultyTimes[4], libVoiC_gf_FormatTimeCampaign(libVoiC_gf_MissionCompleteBestTime(lv_selectedMission, 4)), PlayerGroupAll());
}
campaigns/voidstory.sc2campaign — base.sc2data/TriggerLibs/VoidCampaignUILib.galaxy:5443
libNtve_gf_SetDialogItemText(libVCUI_gv_pU_VSLabelMissionTitle, libVoiC_gf_PC_CampaignMapName(lp_mission), PlayerGroupAll());
TextExpressionSetToken("Param/Expression/lib_VCUI_AC0833B3", "MISSIONTITLE", libVoiC_gf_PC_CampaignMapName(lp_mission));
TextExpressionSetToken("Param/Expression/lib_VCUI_AC0833B3", "DIFFICULTYTITLE", DifficultyNameCampaign(PlayerDifficulty(1)));
libNtve_gf_SetDialogItemText(libVCUI_gv_pU_VSLabelMissionTitle, TextExpressionAssemble("Param/Expression/lib_VCUI_AC0833B3"), PlayerGroupAll());
libNtve_gf_SetDialogItemText(libVCUI_gv_pU_VSLabelTime, libVoiC_gf_FormatTimeCampaign(libVCMI_gv_pM_MissionCompleteTime), PlayerGroupAll());
campaigns/voidstory.sc2campaign — base.sc2data/TriggerLibs/VoidCampaignUILib.galaxy:5486
VictoryPanelSetMissionTitle(StringExternal("Param/Value/lib_VCUI_972F2FBA"));
TextExpressionSetToken("Param/Expression/lib_VCUI_6A4DE49F", "MISSIONTITLE", libVoiC_gf_PC_CampaignMapName(lp_mission));
TextExpressionSetToken("Param/Expression/lib_VCUI_6A4DE49F", "DIFFICULTYTITLE", DifficultyNameCampaign(PlayerDifficulty(1)));
VictoryPanelSetMissionText(TextExpressionAssemble("Param/Expression/lib_VCUI_6A4DE49F"));
VictoryPanelSetStatisticsTitle(StringExternal("Param/Value/lib_VCUI_B1A0AC53"));
campaigns/voidstory.sc2campaign — base.sc2data/TriggerLibs/VoidCampaignUILib.galaxy:5632
libNtve_gf_SetDialogItemText(libVCUI_gv_pU_VSLabelMissionTitle, libVoiC_gf_PC_CampaignMapName(lp_mission), PlayerGroupAll());
TextExpressionSetToken("Param/Expression/lib_VCUI_1D6AD694", "MISSIONTITLE", libVoiC_gf_PC_CampaignMapName(lp_mission));
TextExpressionSetToken("Param/Expression/lib_VCUI_1D6AD694", "DIFFICULTYTITLE", DifficultyNameCampaign(PlayerDifficulty(1)));
libNtve_gf_SetDialogItemText(libVCUI_gv_pU_VSLabelMissionTitle, TextExpressionAssemble("Param/Expression/lib_VCUI_1D6AD694"), PlayerGroupAll());
libNtve_gf_SetDialogItemText(libVCUI_gv_pU_VSLabelTime, libVoiC_gf_FormatTimeCampaign(libVCMI_gv_pM_MissionCompleteTime), PlayerGroupAll());
campaigns/voidstory.sc2campaign — base.sc2data/TriggerLibs/VoidCampaignUILib.galaxy:5731
lv_index = 1;
for ( ; ( (autoD44AF647_ai >= 0 && lv_index <= autoD44AF647_ae) || (autoD44AF647_ai < 0 && lv_index >= autoD44AF647_ae) ) ; lv_index += autoD44AF647_ai ) {
DialogControlAddItem(libVCUI_gv_pU_VSRestartDifficultyPulldown, PlayerGroupAll(), DifficultyNameCampaign(libVoiC_gf_PC_DifficultyFromIndex(lv_index)));
}
DialogControlHookup(libVCUI_gv_pU_VSRestartPanel, c_triggerControlTypePanel, "RestartButton");
mods/missionpacks/novacampaign.sc2mod — base.sc2data/LibNCUI.galaxy:634
}
}
libNtve_gf_SetDialogItemText(libNCUI_gv_nU_ArchivesDifficultyLabels[1], DifficultyNameCampaign(1), PlayerGroupAll());
libNtve_gf_SetDialogItemText(libNCUI_gv_nU_ArchivesDifficultyTimes[1], libComC_gf_FormatTimeCampaign(libComC_gf_MissionCompleteBestTime(lv_selectedMission, 1)), PlayerGroupAll());
libNtve_gf_SetDialogItemText(libNCUI_gv_nU_ArchivesDifficultyLabels[2], DifficultyNameCampaign(2), PlayerGroupAll());
mods/missionpacks/novacampaign.sc2mod — base.sc2data/LibNCUI.galaxy:636
libNtve_gf_SetDialogItemText(libNCUI_gv_nU_ArchivesDifficultyLabels[1], DifficultyNameCampaign(1), PlayerGroupAll());
libNtve_gf_SetDialogItemText(libNCUI_gv_nU_ArchivesDifficultyTimes[1], libComC_gf_FormatTimeCampaign(libComC_gf_MissionCompleteBestTime(lv_selectedMission, 1)), PlayerGroupAll());
libNtve_gf_SetDialogItemText(libNCUI_gv_nU_ArchivesDifficultyLabels[2], DifficultyNameCampaign(2), PlayerGroupAll());
libNtve_gf_SetDialogItemText(libNCUI_gv_nU_ArchivesDifficultyTimes[2], libComC_gf_FormatTimeCampaign(libComC_gf_MissionCompleteBestTime(lv_selectedMission, 2)), PlayerGroupAll());
libNtve_gf_SetDialogItemText(libNCUI_gv_nU_ArchivesDifficultyLabels[3], DifficultyNameCampaign(3), PlayerGroupAll());
mods/missionpacks/novacampaign.sc2mod — base.sc2data/LibNCUI.galaxy:638
libNtve_gf_SetDialogItemText(libNCUI_gv_nU_ArchivesDifficultyLabels[2], DifficultyNameCampaign(2), PlayerGroupAll());
libNtve_gf_SetDialogItemText(libNCUI_gv_nU_ArchivesDifficultyTimes[2], libComC_gf_FormatTimeCampaign(libComC_gf_MissionCompleteBestTime(lv_selectedMission, 2)), PlayerGroupAll());
libNtve_gf_SetDialogItemText(libNCUI_gv_nU_ArchivesDifficultyLabels[3], DifficultyNameCampaign(3), PlayerGroupAll());
libNtve_gf_SetDialogItemText(libNCUI_gv_nU_ArchivesDifficultyTimes[3], libComC_gf_FormatTimeCampaign(libComC_gf_MissionCompleteBestTime(lv_selectedMission, 3)), PlayerGroupAll());
libNtve_gf_SetDialogItemText(libNCUI_gv_nU_ArchivesDifficultyLabels[4], DifficultyNameCampaign(4), PlayerGroupAll());
mods/missionpacks/novacampaign.sc2mod — base.sc2data/LibNCUI.galaxy:640
libNtve_gf_SetDialogItemText(libNCUI_gv_nU_ArchivesDifficultyLabels[3], DifficultyNameCampaign(3), PlayerGroupAll());
libNtve_gf_SetDialogItemText(libNCUI_gv_nU_ArchivesDifficultyTimes[3], libComC_gf_FormatTimeCampaign(libComC_gf_MissionCompleteBestTime(lv_selectedMission, 3)), PlayerGroupAll());
libNtve_gf_SetDialogItemText(libNCUI_gv_nU_ArchivesDifficultyLabels[4], DifficultyNameCampaign(4), PlayerGroupAll());
libNtve_gf_SetDialogItemText(libNCUI_gv_nU_ArchivesDifficultyTimes[4], libComC_gf_FormatTimeCampaign(libComC_gf_MissionCompleteBestTime(lv_selectedMission, 4)), PlayerGroupAll());
}
mods/missionpacks/novacampaign.sc2mod — base.sc2data/LibNCUI.galaxy:3875
libNtve_gf_SetDialogItemText(libNCUI_gv_NU_VSLabelMissionTitle, libComC_gf_CC_MapName(lp_mission), PlayerGroupAll());
TextExpressionSetToken("Param/Expression/lib_NCUI_1D6AD694", "MISSIONTITLE", libComC_gf_CC_MapName(lp_mission));
TextExpressionSetToken("Param/Expression/lib_NCUI_1D6AD694", "DIFFICULTYTITLE", DifficultyNameCampaign(PlayerDifficulty(1)));
libNtve_gf_SetDialogItemText(libNCUI_gv_NU_VSLabelMissionTitle, TextExpressionAssemble("Param/Expression/lib_NCUI_1D6AD694"), PlayerGroupAll());
libNtve_gf_SetDialogItemText(libNCUI_gv_NU_VSLabelTime, libComC_gf_FormatTimeCampaign(libNCMI_gv_NM_MissionCompleteTime), PlayerGroupAll());
mods/missionpacks/novacampaign.sc2mod — base.sc2data/LibNCUI.galaxy:3986
lv_index = 1;
for ( ; ( (autoD44AF647_ai >= 0 && lv_index <= autoD44AF647_ae) || (autoD44AF647_ai <= 0 && lv_index >= autoD44AF647_ae) ) ; lv_index += autoD44AF647_ai ) {
DialogControlAddItem(libNCUI_gv_NU_VSRestartDifficultyPulldown, PlayerGroupAll(), DifficultyNameCampaign(libComC_gf_CC_DifficultyFromIndex(lv_index)));
}
DialogControlHookup(libNCUI_gv_NU_VSRestartPanel, c_triggerControlTypePanel, "RestartButton");
mods/missionpacks/novacampaign.sc2mod — base.sc2data/LibNovC.galaxy:2362
TextExpressionSetToken("Param/Expression/lib_NovC_51680177", "SUMMARY", libComC_gf_CC_MapSummary(libNovC_gf_NC_MissionFinal()));
TextExpressionSetToken("Param/Expression/lib_NovC_51680177", "MISSIONSCOMPLETE", IntToText(libComC_gf_NumberOfMissions(libComC_ge_MissionCountOptions_Completed)));
TextExpressionSetToken("Param/Expression/lib_NovC_51680177", "DIFFICULTY", DifficultyNameCampaign(libComC_gf_CC_DifficultyofCampaign()));
CampaignProgressSetText(PlayerGroupAll(), lv_campaignID, TextExpressionAssemble("Param/Expression/lib_NovC_51680177"));
}
mods/missionpacks/novacampaign.sc2mod — base.sc2data/LibNovC.galaxy:2368
TextExpressionSetToken("Param/Expression/lib_NovC_8B2DEB44", "SUMMARY", libComC_gf_CC_MapSummary(libNovC_gf_NC_MissionFinal()));
TextExpressionSetToken("Param/Expression/lib_NovC_8B2DEB44", "MISSIONSCOMPLETE", IntToText(libComC_gf_NumberOfMissions(libComC_ge_MissionCountOptions_Completed)));
TextExpressionSetToken("Param/Expression/lib_NovC_8B2DEB44", "DIFFICULTY", DifficultyNameCampaign(libComC_gf_CC_DifficultyofCampaign()));
CampaignProgressSetText(PlayerGroupAll(), lv_campaignID, TextExpressionAssemble("Param/Expression/lib_NovC_8B2DEB44"));
}
mods/missionpacks/novacampaign.sc2mod — base.sc2data/LibNovC.galaxy:2374
TextExpressionSetToken("Param/Expression/lib_NovC_59715DD0", "SUMMARY", libComC_gf_CC_MapSummary(libNovC_gf_NC_MissionFinal()));
TextExpressionSetToken("Param/Expression/lib_NovC_59715DD0", "MISSIONSCOMPLETE", IntToText(libComC_gf_NumberOfMissions(libComC_ge_MissionCountOptions_Completed)));
TextExpressionSetToken("Param/Expression/lib_NovC_59715DD0", "DIFFICULTY", DifficultyNameCampaign(libComC_gf_CC_DifficultyofCampaign()));
CampaignProgressSetText(PlayerGroupAll(), lv_campaignID, TextExpressionAssemble("Param/Expression/lib_NovC_59715DD0"));
}
mods/missionpacks/novacampaign.sc2mod — base.sc2data/LibNovC.galaxy:2384
TextExpressionSetToken("Param/Expression/lib_NovC_B282D0C8", "A", libComC_gf_CC_MapSummary(lp_mission));
TextExpressionSetToken("Param/Expression/lib_NovC_B282D0C8", "B", IntToText(libComC_gf_NumberOfMissions(libComC_ge_MissionCountOptions_Completed)));
TextExpressionSetToken("Param/Expression/lib_NovC_B282D0C8", "C", DifficultyNameCampaign(libComC_gf_CC_DifficultyofCampaign()));
CampaignProgressSetText(PlayerGroupAll(), lv_campaignID, TextExpressionAssemble("Param/Expression/lib_NovC_B282D0C8"));
CampaignProgressSetCampaignFinished(PlayerGroupAll(), lv_campaignID, false);
mods/starcoop/starcoop.sc2mod — base.sc2data/LibCOUI.galaxy:2029
libCOUI_gf_CU_CustomMutatorUpdate(lv_indexPlayer);
}
TextExpressionSetToken("Param/Expression/lib_COUI_7FDE64DE", "DIFFICULTY", DifficultyNameCampaign(libCOMI_gf_DifficultyLevelForPlayerCoop(1)));
UIDisplayMessage(PlayerGroupAll(), c_messageAreaChat, TextExpressionAssemble("Param/Expression/lib_COUI_7FDE64DE"));
TriggerEnable(libCOUI_gt_CU_CustomMutatorChangePage, true);
mods/voidprologue.sc2mod — base.sc2data/LibA3DDD02B.galaxy:6391
TextExpressionSetToken("Param/Expression/lib_A3DDD02B_E1EDAD1C", "SUMMARY", libA3DDD02B_gf_StoryMapHelp2("VoidPrologue03"));
TextExpressionSetToken("Param/Expression/lib_A3DDD02B_E1EDAD1C", "MISSIONSCOMPLETE", IntToText(libA3DDD02B_gf_NumberOfMissionsAll(libA3DDD02B_ge_MissionCountOptions_Completed)));
TextExpressionSetToken("Param/Expression/lib_A3DDD02B_E1EDAD1C", "DIFFICULTY", DifficultyNameCampaign(libA3DDD02B_gv_pPX_CampaignDifficulty));
CampaignProgressSetText(PlayerGroupAll(), lv_campaignID, TextExpressionAssemble("Param/Expression/lib_A3DDD02B_E1EDAD1C"));
CampaignProgressSetCampaignFinished(PlayerGroupAll(), lv_campaignID, true);
mods/voidprologue.sc2mod — base.sc2data/LibA3DDD02B.galaxy:6400
TextExpressionSetToken("Param/Expression/lib_A3DDD02B_EC86CC32", "A", libA3DDD02B_gf_StoryMapHelp2(lp_mission));
TextExpressionSetToken("Param/Expression/lib_A3DDD02B_EC86CC32", "B", IntToText(libA3DDD02B_gf_NumberOfMissionsAll(libA3DDD02B_ge_MissionCountOptions_Completed)));
TextExpressionSetToken("Param/Expression/lib_A3DDD02B_EC86CC32", "C", DifficultyNameCampaign(libA3DDD02B_gv_pPX_CampaignDifficulty));
CampaignProgressSetText(PlayerGroupAll(), lv_campaignID, TextExpressionAssemble("Param/Expression/lib_A3DDD02B_EC86CC32"));
CampaignProgressSetCampaignFinished(PlayerGroupAll(), lv_campaignID, false);
mods/voidprologue.sc2mod — base.sc2data/LibA3DDD02B.galaxy:7119
// Implementation
TextExpressionSetToken("Param/Expression/lib_A3DDD02B_F1566AC5", "MISSIONTITLE", libA3DDD02B_gf_StoryMapName(lp_mission));
TextExpressionSetToken("Param/Expression/lib_A3DDD02B_F1566AC5", "DIFFICULTYTITLE", DifficultyNameCampaign(PlayerDifficulty(1)));
libNtve_gf_SetDialogItemText(libA3DDD02B_gv_pU_VSLabelMissionTitle, TextExpressionAssemble("Param/Expression/lib_A3DDD02B_F1566AC5"), PlayerGroupAll());
libNtve_gf_SetDialogItemText(libA3DDD02B_gv_pU_VSLabelTime, libA3DDD02B_gf_FormatTimeCampaign(libA3DDD02B_gv_pP_MissionCompleteTime), PlayerGroupAll());
mods/voidprologue.sc2mod — base.sc2data/LibA3DDD02B.galaxy:7160
lv_index = 1;
for ( ; ( (autoA329818A_ai >= 0 && lv_index <= autoA329818A_ae) || (autoA329818A_ai < 0 && lv_index >= autoA329818A_ae) ) ; lv_index += autoA329818A_ai ) {
DialogControlAddItem(libA3DDD02B_gv_pU_VSRestartDifficultyPulldown, PlayerGroupAll(), DifficultyNameCampaign(libA3DDD02B_gf_PP_DifficultyFromIndex(lv_index)));
}
DialogControlHookup(libA3DDD02B_gv_pU_VSRestartPanel, c_triggerControlTypePanel, "RestartButton");
mods/voidprologue.sc2mod — base.sc2data/LibA3DDD02B.galaxy:7347
}
}
libNtve_gf_SetDialogItemText(libA3DDD02B_gv_pP_ArchivesDifficultyLabels[1], DifficultyNameCampaign(1), PlayerGroupAll());
libNtve_gf_SetDialogItemText(libA3DDD02B_gv_pP_ArchivesDifficultyTimes[1], libA3DDD02B_gf_FormatTimeCampaign(MaxI(libA3DDD02B_gf_MissionCompleteBestTime(lv_selectedMission, 1), 0)), PlayerGroupAll());
libNtve_gf_SetDialogItemText(libA3DDD02B_gv_pP_ArchivesDifficultyLabels[2], DifficultyNameCampaign(2), PlayerGroupAll());
mods/voidprologue.sc2mod — base.sc2data/LibA3DDD02B.galaxy:7349
libNtve_gf_SetDialogItemText(libA3DDD02B_gv_pP_ArchivesDifficultyLabels[1], DifficultyNameCampaign(1), PlayerGroupAll());
libNtve_gf_SetDialogItemText(libA3DDD02B_gv_pP_ArchivesDifficultyTimes[1], libA3DDD02B_gf_FormatTimeCampaign(MaxI(libA3DDD02B_gf_MissionCompleteBestTime(lv_selectedMission, 1), 0)), PlayerGroupAll());
libNtve_gf_SetDialogItemText(libA3DDD02B_gv_pP_ArchivesDifficultyLabels[2], DifficultyNameCampaign(2), PlayerGroupAll());
libNtve_gf_SetDialogItemText(libA3DDD02B_gv_pP_ArchivesDifficultyTimes[2], libA3DDD02B_gf_FormatTimeCampaign(MaxI(libA3DDD02B_gf_MissionCompleteBestTime(lv_selectedMission, 2), 0)), PlayerGroupAll());
libNtve_gf_SetDialogItemText(libA3DDD02B_gv_pP_ArchivesDifficultyLabels[3], DifficultyNameCampaign(3), PlayerGroupAll());
mods/voidprologue.sc2mod — base.sc2data/LibA3DDD02B.galaxy:7351
libNtve_gf_SetDialogItemText(libA3DDD02B_gv_pP_ArchivesDifficultyLabels[2], DifficultyNameCampaign(2), PlayerGroupAll());
libNtve_gf_SetDialogItemText(libA3DDD02B_gv_pP_ArchivesDifficultyTimes[2], libA3DDD02B_gf_FormatTimeCampaign(MaxI(libA3DDD02B_gf_MissionCompleteBestTime(lv_selectedMission, 2), 0)), PlayerGroupAll());
libNtve_gf_SetDialogItemText(libA3DDD02B_gv_pP_ArchivesDifficultyLabels[3], DifficultyNameCampaign(3), PlayerGroupAll());
libNtve_gf_SetDialogItemText(libA3DDD02B_gv_pP_ArchivesDifficultyTimes[3], libA3DDD02B_gf_FormatTimeCampaign(MaxI(libA3DDD02B_gf_MissionCompleteBestTime(lv_selectedMission, 3), 0)), PlayerGroupAll());
libNtve_gf_SetDialogItemText(libA3DDD02B_gv_pP_ArchivesDifficultyLabels[4], DifficultyNameCampaign(4), PlayerGroupAll());
mods/voidprologue.sc2mod — base.sc2data/LibA3DDD02B.galaxy:7353
libNtve_gf_SetDialogItemText(libA3DDD02B_gv_pP_ArchivesDifficultyLabels[3], DifficultyNameCampaign(3), PlayerGroupAll());
libNtve_gf_SetDialogItemText(libA3DDD02B_gv_pP_ArchivesDifficultyTimes[3], libA3DDD02B_gf_FormatTimeCampaign(MaxI(libA3DDD02B_gf_MissionCompleteBestTime(lv_selectedMission, 3), 0)), PlayerGroupAll());
libNtve_gf_SetDialogItemText(libA3DDD02B_gv_pP_ArchivesDifficultyLabels[4], DifficultyNameCampaign(4), PlayerGroupAll());
libNtve_gf_SetDialogItemText(libA3DDD02B_gv_pP_ArchivesDifficultyTimes[4], libA3DDD02B_gf_FormatTimeCampaign(MaxI(libA3DDD02B_gf_MissionCompleteBestTime(lv_selectedMission, 4), 0)), PlayerGroupAll());
}