# Convert Text Case
Grammar — Text(t) as case|Lower/Upper Case
Flags —Native
|Function
Converts text to upper case or lower case.
# Arguments
text
— Textbool
<preset::String_Case_Option> — Case
Returns — text
native text TextCase(text t, bool upper);
# 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/liberty.sc2campaign — base.sc2maps/maps/campaign/tarcade.sc2map/MapScript.galaxy:3842
libNtve_gf_SetDialogItemImage2(lp_button, "Assets\\Textures\\ui_button_generic_greenglow_normaloverpressedover.dds", PlayerGroupAll());
libNtve_gf_SetDialogItemStyle(lp_button, "ArcadeBackButton", PlayerGroupAll());
libNtve_gf_SetDialogItemText(lp_button, TextCase(libNtve_gf_DialogItemText(lp_button, 1), true), PlayerGroupAll());
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tarcade.sc2map/MapScript.galaxy:8515
DialogControlSetSize(DialogControlLastCreated(), PlayerGroupAll(), 800, 100);
DialogControlSetPosition(DialogControlLastCreated(), PlayerGroupAll(), c_anchorCenter, 0, 50);
libNtve_gf_SetDialogItemText(DialogControlLastCreated(), (StringExternal("Param/Value/765E4325") + TextCase(StringExternal("Param/Value/E8F22CDE"), true) + StringExternal("Param/Value/390804C2")), PlayerGroupAll());
libNtve_gf_SetDialogItemStyle(DialogControlLastCreated(), "ArcadeIntroText", PlayerGroupAll());
DialogControlSetVisible(gv_introFlashingLabel, PlayerGroupAll(), false);
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:13794
DialogControlSetPositionRelative(DialogControlLastCreated(), PlayerGroupAll(), c_anchorBottomRight, gv_aBChoiceFrame, c_anchorTopRight, -140, 56);
}
libNtve_gf_SetDialogItemText(DialogControlLastCreated(), TextCase(ConversationDataStateName(lp_convoID), true), PlayerGroupAll());
DialogControlSetSize(DialogControlLastCreated(), PlayerGroupAll(), 500, 120);
libNtve_gf_SetDialogItemStyle(DialogControlLastCreated(), "ABChoiceButtonText", PlayerGroupAll());
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttutorial01.sc2map/MapScript.galaxy:566
// Implementation
if ((lp_condition == true)) {
libNtve_gf_SetDialogItemText(lp_button, (StringExternal("Param/Value/FBD20468") + TextCase(lp_buttonText, true) + StringExternal("Param/Value/EB9676F2")), PlayerGroupAll());
}
else {
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttutorial01.sc2map/MapScript.galaxy:584
void gf_CreateMainMenuButton (int lp_width, int lp_height, int lp_x, int lp_y, text lp_buttonText) {
// Implementation
libNtve_gf_CreateDialogItemButton(gv_mainDialog, lp_width, lp_height, c_anchorTop, lp_x, lp_y, StringExternal("Param/Value/1B0FAE53"), TextCase(lp_buttonText, true), "");
libNtve_gf_SetDialogItemImage(DialogControlLastCreated(), "Assets\\Textures\\ui_button_tutorial_normalpressed.dds", PlayerGroupAll());
libNtve_gf_SetDialogItemImageType(DialogControlLastCreated(), c_triggerImageTypeEndCap, PlayerGroupAll());
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttutorial01.sc2map/MapScript.galaxy:1254
gv_replay_Transmission_Border_Tutorial = DialogControlLastCreated();
DialogControlSetVisible(gv_replay_Transmission_Border_Tutorial, PlayerGroupAll(), false);
libNtve_gf_DisplayScreenButton(gv_replay_Transmission_ButtonID_Tutorial, TextCase(StringExternal("Param/Value/B72655EF"), true), 180, 55, c_anchorLeft, 82, 125, gt_ClickReplayTransmissionButton);
gv_replay_Transmission_Dialog_Tutorial = libNtve_gf_ScreenButtonDialog(gv_replay_Transmission_ButtonID_Tutorial);
DialogSetPosition(libNtve_gf_ScreenButtonDialog(gv_replay_Transmission_ButtonID_Tutorial), c_anchorLeft, 55, 155);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttutorial01.sc2map/MapScript.galaxy:1266
gv_replay_Transmission_Border_Main = DialogControlLastCreated();
DialogControlSetVisible(gv_replay_Transmission_Border_Main, PlayerGroupAll(), false);
libNtve_gf_DisplayScreenButton(gv_replay_Transmission_ButtonID_Main, TextCase(StringExternal("Param/Value/15DA9B3E"), true), 180, 55, c_anchorLeft, 432, 150, gt_ClickReplayTransmissionButton);
gv_replay_Transmission_Dialog_Main = libNtve_gf_ScreenButtonDialog(gv_replay_Transmission_ButtonID_Main);
DialogSetPosition(libNtve_gf_ScreenButtonDialog(gv_replay_Transmission_ButtonID_Main), c_anchorCenter, -334, 80);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttutorial01.sc2map/MapScript.galaxy:1276
PortraitSetModel(gv_cinematicWindow, "AdjutantPortrait_L", false);
PortraitSetVisible(gv_cinematicWindow, PlayerGroupAll(), true, false);
libNtve_gf_CreateDialogItemLabel(gv_mainDialog, lv_itemWidth, lv_itemHeight, c_anchorTop, 88, 165, TextCase(StringExternal("Param/Value/E60F4B90"), true), Color(100,100,100), false, 2.0);
gv_mainLabel = DialogControlLastCreated();
libNtve_gf_SetDialogItemStyle(DialogControlLastCreated(), "TutorialMenuTitle", PlayerGroupAll());
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tarcade.sc2map — MapScript.galaxy:3842
libNtve_gf_SetDialogItemImage2(lp_button, "Assets\\Textures\\ui_button_generic_greenglow_normaloverpressedover.dds", PlayerGroupAll());
libNtve_gf_SetDialogItemStyle(lp_button, "ArcadeBackButton", PlayerGroupAll());
libNtve_gf_SetDialogItemText(lp_button, TextCase(libNtve_gf_DialogItemText(lp_button, 1), true), PlayerGroupAll());
}
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tarcade.sc2map — MapScript.galaxy:8515
DialogControlSetSize(DialogControlLastCreated(), PlayerGroupAll(), 800, 100);
DialogControlSetPosition(DialogControlLastCreated(), PlayerGroupAll(), c_anchorCenter, 0, 50);
libNtve_gf_SetDialogItemText(DialogControlLastCreated(), (StringExternal("Param/Value/765E4325") + TextCase(StringExternal("Param/Value/E8F22CDE"), true) + StringExternal("Param/Value/390804C2")), PlayerGroupAll());
libNtve_gf_SetDialogItemStyle(DialogControlLastCreated(), "ArcadeIntroText", PlayerGroupAll());
DialogControlSetVisible(gv_introFlashingLabel, PlayerGroupAll(), false);
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:13794
DialogControlSetPositionRelative(DialogControlLastCreated(), PlayerGroupAll(), c_anchorBottomRight, gv_aBChoiceFrame, c_anchorTopRight, -140, 56);
}
libNtve_gf_SetDialogItemText(DialogControlLastCreated(), TextCase(ConversationDataStateName(lp_convoID), true), PlayerGroupAll());
DialogControlSetSize(DialogControlLastCreated(), PlayerGroupAll(), 500, 120);
libNtve_gf_SetDialogItemStyle(DialogControlLastCreated(), "ABChoiceButtonText", PlayerGroupAll());
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/ttutorial01.sc2map — MapScript.galaxy:566
// Implementation
if ((lp_condition == true)) {
libNtve_gf_SetDialogItemText(lp_button, (StringExternal("Param/Value/FBD20468") + TextCase(lp_buttonText, true) + StringExternal("Param/Value/EB9676F2")), PlayerGroupAll());
}
else {
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/ttutorial01.sc2map — MapScript.galaxy:584
void gf_CreateMainMenuButton (int lp_width, int lp_height, int lp_x, int lp_y, text lp_buttonText) {
// Implementation
libNtve_gf_CreateDialogItemButton(gv_mainDialog, lp_width, lp_height, c_anchorTop, lp_x, lp_y, StringExternal("Param/Value/1B0FAE53"), TextCase(lp_buttonText, true), "");
libNtve_gf_SetDialogItemImage(DialogControlLastCreated(), "Assets\\Textures\\ui_button_tutorial_normalpressed.dds", PlayerGroupAll());
libNtve_gf_SetDialogItemImageType(DialogControlLastCreated(), c_triggerImageTypeEndCap, PlayerGroupAll());
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/ttutorial01.sc2map — MapScript.galaxy:1254
gv_replay_Transmission_Border_Tutorial = DialogControlLastCreated();
DialogControlSetVisible(gv_replay_Transmission_Border_Tutorial, PlayerGroupAll(), false);
libNtve_gf_DisplayScreenButton(gv_replay_Transmission_ButtonID_Tutorial, TextCase(StringExternal("Param/Value/B72655EF"), true), 180, 55, c_anchorLeft, 82, 125, gt_ClickReplayTransmissionButton);
gv_replay_Transmission_Dialog_Tutorial = libNtve_gf_ScreenButtonDialog(gv_replay_Transmission_ButtonID_Tutorial);
DialogSetPosition(libNtve_gf_ScreenButtonDialog(gv_replay_Transmission_ButtonID_Tutorial), c_anchorLeft, 55, 155);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/ttutorial01.sc2map — MapScript.galaxy:1266
gv_replay_Transmission_Border_Main = DialogControlLastCreated();
DialogControlSetVisible(gv_replay_Transmission_Border_Main, PlayerGroupAll(), false);
libNtve_gf_DisplayScreenButton(gv_replay_Transmission_ButtonID_Main, TextCase(StringExternal("Param/Value/15DA9B3E"), true), 180, 55, c_anchorLeft, 432, 150, gt_ClickReplayTransmissionButton);
gv_replay_Transmission_Dialog_Main = libNtve_gf_ScreenButtonDialog(gv_replay_Transmission_ButtonID_Main);
DialogSetPosition(libNtve_gf_ScreenButtonDialog(gv_replay_Transmission_ButtonID_Main), c_anchorCenter, -334, 80);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/ttutorial01.sc2map — MapScript.galaxy:1276
PortraitSetModel(gv_cinematicWindow, "AdjutantPortrait_L", false);
PortraitSetVisible(gv_cinematicWindow, PlayerGroupAll(), true, false);
libNtve_gf_CreateDialogItemLabel(gv_mainDialog, lv_itemWidth, lv_itemHeight, c_anchorTop, 88, 165, TextCase(StringExternal("Param/Value/E60F4B90"), true), Color(100,100,100), false, 2.0);
gv_mainLabel = DialogControlLastCreated();
libNtve_gf_SetDialogItemStyle(DialogControlLastCreated(), "TutorialMenuTitle", PlayerGroupAll());
campaigns/libertystory.sc2campaign — base.sc2data/TriggerLibs/CampaignLib.galaxy:2802
// Automatic Variable Declarations
// Implementation
return TextCase(libCamp_gf_MissionName(lp_mission), true);
}
campaigns/swarmstory.sc2campaign — base.sc2data/TriggerLibs/SwarmCampaignLib.galaxy:8666
DialogControlSetVisible(libSwaC_gv_zS_ArmyCustomUpgradeSelectUpgradeLabel, PlayerGroupAll(), false);
libNtve_gf_SetDialogItemMovie(libSwaC_gv_zS_ArmyCustomSelectedUpgradeMovie, libSwaC_gf_ZS_StoryArmyUpgradeMovie(libSwaC_gv_zS_ArmyCustomUpgradeCurrent), PlayerGroupAll());
libNtve_gf_SetDialogItemText(libSwaC_gv_zS_ArmyCustomSelectedUpgradeNameLabel, TextCase(libSwaC_gf_ZS_StoryArmyUpgradeName(libSwaC_gv_zS_ArmyCustomUpgradeCurrent), true), PlayerGroupAll());
libNtve_gf_SetDialogItemText(libSwaC_gv_zS_ArmyCustomSelectedUpgradeDescriptionLabel, libSwaC_gf_ZS_StoryArmyUpgradeDescription(libSwaC_gv_zS_ArmyCustomUpgradeCurrent), PlayerGroupAll());
libNtve_gf_SetDialogItemText(libSwaC_gv_zS_ArmyCustomUpgradeSelectedDescriptionResultsLabel, libSwaC_gf_ZS_StoryArmyUpgradeResults(libSwaC_gv_zS_ArmyCustomUpgradeCurrent), PlayerGroupAll());
mods/heroes.stormmod — base.stormmaps/maps/heroes/singleplayermaps/startingexperience/tutorialveteran.stormmap/MapScript.galaxy:3555
}
gf_ChallengeStartWait(false, gt__1A_GardenTerrorChallengeCallbackPrep, gt__1A_GardenTerrorChallengeCallbackStart, CameraInfoGetTarget(CameraInfoFromId(419)), TextCase(StringExternal("Param/Value/62CFC26E"), true), (gv__1A_PlayTimes == 1));
SoundtrackPlay(PlayerGroupAll(), c_soundtrackCategoryMusic, "MX_TutorialVet_ChallengeStart1", c_soundtrackCueAny, c_soundtrackIndexAny, false);
UnitBehaviorRemove(libStEx_gv_hERO_PlayerUnit, "HeroGenericPregameAbilitySuppression", 1);
mods/heroes.stormmod — base.stormmaps/maps/heroes/singleplayermaps/startingexperience/tutorialveteran.stormmap/MapScript.galaxy:4029
}
gf_ChallengeStartWait(false, gt__1C_MoshPitChallengeCallbackPrep, gt__1C_MoshPitChallengeCallbackStart, CameraInfoGetTarget(CameraInfoFromId(313)), TextCase(StringExternal("Param/Value/19C54563"), true), (gv__1C_PlayTimes == 1));
SoundtrackPlay(PlayerGroupAll(), c_soundtrackCategoryMusic, "MX_TutorialVet_ChallengeStart2", c_soundtrackCueAny, c_soundtrackIndexAny, false);
UnitBehaviorRemove(libStEx_gv_hERO_PlayerUnit, "HeroGenericPregameAbilitySuppression", 1);
mods/heroes.stormmod — base.stormmaps/maps/heroes/singleplayermaps/startingexperience/tutorialveteran.stormmap/MapScript.galaxy:4919
}
gf_ChallengeStartWait(false, gt__1D_AOEChallengeCallbackPrep, gt__1D_AOEChallengeCallbackStart, UnitGetPosition(libStEx_gv_hERO_PlayerUnit), TextCase(StringExternal("Param/Value/2B86BC31"), true), (gv__1D_PlayTimes == 1));
UnitBehaviorRemove(libStEx_gv_hERO_PlayerUnit, "HeroGenericPregameAbilitySuppression", 1);
libNtve_gf_MakeUnitUncommandable(libStEx_gv_hERO_PlayerUnit, false);
mods/heroes.stormmod — base.stormmaps/maps/heroes/singleplayermaps/startingexperience/tutorialveteran.stormmap/MapScript.galaxy:5492
}
gf_ChallengeStartWait(false, gt__1E_RoamingChallengeCallbackPrep, gt__1E_RoamingChallengeCallbackStart, PointFromId(1276), TextCase(StringExternal("Param/Value/42D7B07C"), true), (gv__1E_PlayTimes == 1));
SoundtrackPlay(PlayerGroupAll(), c_soundtrackCategoryMusic, "MX_TutorialVet_ChallengeStart3", c_soundtrackCueAny, c_soundtrackIndexAny, false);
libCore_gv_sYSTalentsOn = false;
mods/heroes.stormmod — base.stormmaps/maps/heroes/singleplayermaps/startingexperience/tutorialveteran.stormmap/MapScript.galaxy:6515
libStEx_gf_ResetHeroUnitforPlayer(libStEx_gv_pLAYER_07_CHAOS2);
libStEx_gf_ResetHeroUnitforPlayer(libStEx_gv_pLAYER_08_CHAOS3);
gf_ChallengeStartWait(false, gt__2A_EscapeChallengeCallbackPrep, gt__2A_EscapeChallengeCallbackStart, PointFromId(16), TextCase(StringExternal("Param/Value/8C7A1145"), true), (gv__2A_PlayTimes == 1));
CameraLockInput(libStEx_gv_sE_Player, false);
libNtve_gf_PauseUnit(libStEx_gv_hERO_FriendlyValla, false);
mods/heroes.stormmod — base.stormmaps/maps/heroes/singleplayermaps/startingexperience/tutorialveteran.stormmap/MapScript.galaxy:7586
}
gf_ChallengeStartWait(false, gt__2C_DragonKnightChallengeCallbackPrep, gt__2C_DragonKnightChallengeCallbackStart, CameraInfoGetTarget(CameraInfoFromId(838)), TextCase(StringExternal("Param/Value/A7D5CCCB"), true), (gv__2C_PlayTimes == 1));
UnitBehaviorRemove(libStEx_gv_hERO_PlayerUnit, "HeroGenericPregameAbilitySuppression", 1);
CameraLockInput(libStEx_gv_pLAYER_01_USER, false);
mods/heroes.stormmod/base.stormmaps/maps/heroes/singleplayermaps/startingexperience/tutorialveteran.stormmap — MapScript.galaxy:3555
}
gf_ChallengeStartWait(false, gt__1A_GardenTerrorChallengeCallbackPrep, gt__1A_GardenTerrorChallengeCallbackStart, CameraInfoGetTarget(CameraInfoFromId(419)), TextCase(StringExternal("Param/Value/62CFC26E"), true), (gv__1A_PlayTimes == 1));
SoundtrackPlay(PlayerGroupAll(), c_soundtrackCategoryMusic, "MX_TutorialVet_ChallengeStart1", c_soundtrackCueAny, c_soundtrackIndexAny, false);
UnitBehaviorRemove(libStEx_gv_hERO_PlayerUnit, "HeroGenericPregameAbilitySuppression", 1);
mods/heroes.stormmod/base.stormmaps/maps/heroes/singleplayermaps/startingexperience/tutorialveteran.stormmap — MapScript.galaxy:4029
}
gf_ChallengeStartWait(false, gt__1C_MoshPitChallengeCallbackPrep, gt__1C_MoshPitChallengeCallbackStart, CameraInfoGetTarget(CameraInfoFromId(313)), TextCase(StringExternal("Param/Value/19C54563"), true), (gv__1C_PlayTimes == 1));
SoundtrackPlay(PlayerGroupAll(), c_soundtrackCategoryMusic, "MX_TutorialVet_ChallengeStart2", c_soundtrackCueAny, c_soundtrackIndexAny, false);
UnitBehaviorRemove(libStEx_gv_hERO_PlayerUnit, "HeroGenericPregameAbilitySuppression", 1);
mods/heroes.stormmod/base.stormmaps/maps/heroes/singleplayermaps/startingexperience/tutorialveteran.stormmap — MapScript.galaxy:4919
}
gf_ChallengeStartWait(false, gt__1D_AOEChallengeCallbackPrep, gt__1D_AOEChallengeCallbackStart, UnitGetPosition(libStEx_gv_hERO_PlayerUnit), TextCase(StringExternal("Param/Value/2B86BC31"), true), (gv__1D_PlayTimes == 1));
UnitBehaviorRemove(libStEx_gv_hERO_PlayerUnit, "HeroGenericPregameAbilitySuppression", 1);
libNtve_gf_MakeUnitUncommandable(libStEx_gv_hERO_PlayerUnit, false);
mods/heroes.stormmod/base.stormmaps/maps/heroes/singleplayermaps/startingexperience/tutorialveteran.stormmap — MapScript.galaxy:5492
}
gf_ChallengeStartWait(false, gt__1E_RoamingChallengeCallbackPrep, gt__1E_RoamingChallengeCallbackStart, PointFromId(1276), TextCase(StringExternal("Param/Value/42D7B07C"), true), (gv__1E_PlayTimes == 1));
SoundtrackPlay(PlayerGroupAll(), c_soundtrackCategoryMusic, "MX_TutorialVet_ChallengeStart3", c_soundtrackCueAny, c_soundtrackIndexAny, false);
libCore_gv_sYSTalentsOn = false;
mods/heroes.stormmod/base.stormmaps/maps/heroes/singleplayermaps/startingexperience/tutorialveteran.stormmap — MapScript.galaxy:6515
libStEx_gf_ResetHeroUnitforPlayer(libStEx_gv_pLAYER_07_CHAOS2);
libStEx_gf_ResetHeroUnitforPlayer(libStEx_gv_pLAYER_08_CHAOS3);
gf_ChallengeStartWait(false, gt__2A_EscapeChallengeCallbackPrep, gt__2A_EscapeChallengeCallbackStart, PointFromId(16), TextCase(StringExternal("Param/Value/8C7A1145"), true), (gv__2A_PlayTimes == 1));
CameraLockInput(libStEx_gv_sE_Player, false);
libNtve_gf_PauseUnit(libStEx_gv_hERO_FriendlyValla, false);
mods/heroes.stormmod/base.stormmaps/maps/heroes/singleplayermaps/startingexperience/tutorialveteran.stormmap — MapScript.galaxy:7586
}
gf_ChallengeStartWait(false, gt__2C_DragonKnightChallengeCallbackPrep, gt__2C_DragonKnightChallengeCallbackStart, CameraInfoGetTarget(CameraInfoFromId(838)), TextCase(StringExternal("Param/Value/A7D5CCCB"), true), (gv__2C_PlayTimes == 1));
UnitBehaviorRemove(libStEx_gv_hERO_PlayerUnit, "HeroGenericPregameAbilitySuppression", 1);
CameraLockInput(libStEx_gv_pLAYER_01_USER, false);
mods/starcoop/starcoop.sc2mod — base.sc2data/LibCOMU.galaxy:2988
}
TextExpressionSetToken("Param/Expression/lib_COMU_F87AC3BD", "UNIT", TextCase(UnitTypeGetName(UnitGetType(lv_bonusUnit)), true));
libCOUI_gf_CU_MutatorListShowNotificationToPlayer(TextExpressionAssemble("Param/Expression/lib_COMU_F87AC3BD"), lp_giftPlayer);
UnitBehaviorAdd(lv_bonusUnit, "MutatorAvenger", lv_bonusUnit, 10);
mods/starcoop/starcoop.sc2mod — base.sc2data/LibCOUI.galaxy:1860
DialogControlSetEnabled(libCOUI_gv_cU_CustomMutatorStartButton, PlayerGroupSingle(2), false);
libNtve_gf_SetDialogItemTooltip(libCOUI_gv_cU_CustomMutatorStartButton, StringExternal("Param/Value/lib_COUI_76339146"), PlayerGroupSingle(2));
DialogControlAddItem(libCOUI_gv_cU_CustomMutatorSpeedDropDown, PlayerGroupAll(), TextCase(StringExternal("UI/GameSpeed/Fasr"), true));
libNtve_gf_SetDialogItemTooltip(libCOUI_gv_cU_CustomMutatorSpeedDropDown, StringExternal("Param/Value/lib_COUI_F2BF28BF"), PlayerGroupSingle(2));
DialogControlSetEnabled(libCOUI_gv_cU_CustomMutatorSpeedDropDown, PlayerGroupSingle(2), false);
mods/starcoop/starcoop.sc2mod — base.sc2data/LibCOUI.galaxy:1864
DialogControlSetEnabled(libCOUI_gv_cU_CustomMutatorSpeedDropDown, PlayerGroupSingle(2), false);
if ((libCOMI_gf_DifficultyLevelForPlayerCoop(1) != 4)) {
DialogControlAddItem(libCOUI_gv_cU_CustomMutatorSpeedDropDown, PlayerGroupAll(), TextCase(StringExternal("UI/GameSpeed/Fast"), true));
}
else {
mods/starcoop/starcoop.sc2mod — base.sc2data/LibCOUI.galaxy:1871
}
if ((libCOMI_gf_DifficultyLevelForPlayerCoop(1) != 4) && (libCOMI_gf_DifficultyLevelForPlayerCoop(1) != 3)) {
DialogControlAddItem(libCOUI_gv_cU_CustomMutatorSpeedDropDown, PlayerGroupAll(), TextCase(StringExternal("UI/GameSpeed/Norm"), true));
}
mods/starcoop/starcoop.sc2mod — base.sc2data/LibCOUI.galaxy:1875
if ((libCOMI_gf_DifficultyLevelForPlayerCoop(1) == 1)) {
DialogControlAddItem(libCOUI_gv_cU_CustomMutatorSpeedDropDown, PlayerGroupAll(), TextCase(StringExternal("UI/GameSpeed/Slow"), true));
}