# Set Dialog Item Style

Grammar — Set dialogItem style to style for players
FlagsAction

Sets the font style for the text of a dialog item using a string value. Font styles can be found in FontStyles.SC2Style.

# Arguments

  • int [ control ] — Dialog Item
  • string [ fontstyle ] — Style
  • playergroup — Players

Returns — void

void libNtve_gf_SetDialogItemStyle(
	int lp_dialogItem,
	string lp_style,
	playergroup lp_players,
);

Category: Dialog / Dialog Item Tools

# Examples

# campaigns/liberty.sc2campaign

MapScript.galaxy

// L3205
libNtve_gf_SetDialogItemStyle(DialogControlLastCreated(), "ArcadeFighterWarning", PlayerGroupAll())
// L3237
libNtve_gf_SetDialogItemStyle(DialogControlLastCreated(), "CantinaLevelStart", PlayerGroupAll())
// L3285
libNtve_gf_SetDialogItemStyle(DialogControlLastCreated(), "ArcadeFighterControlTipLeft", PlayerGroupAll())
// L3289
libNtve_gf_SetDialogItemStyle(DialogControlLastCreated(), "ArcadeFighterControlTipRight", PlayerGroupAll())
// L3461
libNtve_gf_SetDialogItemStyle(DialogControlLastCreated(), "ArcadeFighterLevelScoreTitle", PlayerGroupAll())
// L3471
libNtve_gf_SetDialogItemStyle(DialogControlLastCreated(), "ArcadeFighterLevelScoreText", PlayerGroupAll())
// L3474
libNtve_gf_SetDialogItemStyle(DialogControlLastCreated(), "ArcadeFighterLevelScore", PlayerGroupAll())
// L3484
libNtve_gf_SetDialogItemStyle(DialogControlLastCreated(), "ArcadeFighterLevelScoreTextSingle", PlayerGroupAll())
// L3486
libNtve_gf_SetDialogItemStyle(DialogControlLastCreated(), "ArcadeFighterLevelScoreSingle", PlayerGroupAll())
// L3505
libNtve_gf_SetDialogItemStyle(DialogControlLastCreated(), "ArcadeFighterLevelScoreText", PlayerGroupAll())
// L2586
libNtve_gf_SetDialogItemStyle(lp_button, "StoryModePlayBackButton", PlayerGroupAll())
// L3467
libNtve_gf_SetDialogItemStyle(DialogControlLastCreated(), "StorySetLoading", PlayerGroupAll())
// L4682
libNtve_gf_SetDialogItemStyle(DialogControlLastCreated(), "DebugScenePanelButton", PlayerGroupAll())
// L4885
libNtve_gf_SetDialogItemStyle(DialogControlLastCreated(), "BriefingDebugButtonText", PlayerGroupAll())
// L4924
libNtve_gf_SetDialogItemStyle(DialogControlLastCreated(), "BattleReportTitle", PlayerGroupAll())
// L4984
libNtve_gf_SetDialogItemStyle(DialogControlLastCreated(), "TVNewsDebugButtonText", PlayerGroupAll())
// L5023
libNtve_gf_SetDialogItemStyle(DialogControlLastCreated(), "BattleReportTitle", PlayerGroupAll())
// L10406
libNtve_gf_SetDialogItemStyle(DialogControlLastCreated(), "ZPlanetPanelButtonClose", PlayerGroupAll())
// L10416
libNtve_gf_SetDialogItemStyle(DialogControlLastCreated(), "ZPlanetPanelButtonClose", PlayerGroupAll())
// L10428
libNtve_gf_SetDialogItemStyle(DialogControlLastCreated(), "ZPlanetPanelButtonLaunch", PlayerGroupAll())
// L579
libNtve_gf_SetDialogItemStyle(libNtve_gf_ScreenButton(lp_screenButtonID), "TutorialReplyButtonText", PlayerGroupAll())
// L589
libNtve_gf_SetDialogItemStyle(DialogControlLastCreated(), "TutorialButtonText", PlayerGroupAll())
// L1278
libNtve_gf_SetDialogItemStyle(DialogControlLastCreated(), "TutorialMenuTitle", PlayerGroupAll())
// L440
libNtve_gf_SetDialogItemStyle(lv_lABEL, "ChallengeReady", PlayerGroupAll())
// L1668
libNtve_gf_SetDialogItemStyle(lv_racingStartTEXT, "ChallengeReady", PlayerGroupAll())
// L972
libNtve_gf_SetDialogItemStyle(lv_racingStartTEXT, "ChallengeReady", PlayerGroupAll())
// L1009
libNtve_gf_SetDialogItemStyle(lv_racingStartTEXT, "ChallengeReady", PlayerGroupAll())
// L537
libNtve_gf_SetDialogItemStyle(lv_racingStartTEXT, "ChallengeReady", PlayerGroupAll())
// L799
libNtve_gf_SetDialogItemStyle(lv_racingStartTEXT, "ChallengeReady", PlayerGroupAll())
// L1516
libNtve_gf_SetDialogItemStyle(lv_racingStartTEXT, "ChallengeReady", PlayerGroupAll())
// L1577
libNtve_gf_SetDialogItemStyle(lv_racingStartTEXT, "ChallengeReady", PlayerGroupAll())
// L3205
libNtve_gf_SetDialogItemStyle(DialogControlLastCreated(), "ArcadeFighterWarning", PlayerGroupAll())
// L3237
libNtve_gf_SetDialogItemStyle(DialogControlLastCreated(), "CantinaLevelStart", PlayerGroupAll())
// L3285
libNtve_gf_SetDialogItemStyle(DialogControlLastCreated(), "ArcadeFighterControlTipLeft", PlayerGroupAll())
// L3289
libNtve_gf_SetDialogItemStyle(DialogControlLastCreated(), "ArcadeFighterControlTipRight", PlayerGroupAll())
// L3461
libNtve_gf_SetDialogItemStyle(DialogControlLastCreated(), "ArcadeFighterLevelScoreTitle", PlayerGroupAll())
// L3471
libNtve_gf_SetDialogItemStyle(DialogControlLastCreated(), "ArcadeFighterLevelScoreText", PlayerGroupAll())
// L3474
libNtve_gf_SetDialogItemStyle(DialogControlLastCreated(), "ArcadeFighterLevelScore", PlayerGroupAll())
// L3484
libNtve_gf_SetDialogItemStyle(DialogControlLastCreated(), "ArcadeFighterLevelScoreTextSingle", PlayerGroupAll())
// L3486
libNtve_gf_SetDialogItemStyle(DialogControlLastCreated(), "ArcadeFighterLevelScoreSingle", PlayerGroupAll())
// L3505
libNtve_gf_SetDialogItemStyle(DialogControlLastCreated(), "ArcadeFighterLevelScoreText", PlayerGroupAll())
// L2586
libNtve_gf_SetDialogItemStyle(lp_button, "StoryModePlayBackButton", PlayerGroupAll())
// L3467
libNtve_gf_SetDialogItemStyle(DialogControlLastCreated(), "StorySetLoading", PlayerGroupAll())
// L4682
libNtve_gf_SetDialogItemStyle(DialogControlLastCreated(), "DebugScenePanelButton", PlayerGroupAll())
// L4885
libNtve_gf_SetDialogItemStyle(DialogControlLastCreated(), "BriefingDebugButtonText", PlayerGroupAll())
// L4924
libNtve_gf_SetDialogItemStyle(DialogControlLastCreated(), "BattleReportTitle", PlayerGroupAll())
// L4984
libNtve_gf_SetDialogItemStyle(DialogControlLastCreated(), "TVNewsDebugButtonText", PlayerGroupAll())
// L5023
libNtve_gf_SetDialogItemStyle(DialogControlLastCreated(), "BattleReportTitle", PlayerGroupAll())
// L10406
libNtve_gf_SetDialogItemStyle(DialogControlLastCreated(), "ZPlanetPanelButtonClose", PlayerGroupAll())
// L10416
libNtve_gf_SetDialogItemStyle(DialogControlLastCreated(), "ZPlanetPanelButtonClose", PlayerGroupAll())
// L10428
libNtve_gf_SetDialogItemStyle(DialogControlLastCreated(), "ZPlanetPanelButtonLaunch", PlayerGroupAll())
// L579
libNtve_gf_SetDialogItemStyle(libNtve_gf_ScreenButton(lp_screenButtonID), "TutorialReplyButtonText", PlayerGroupAll())
// L589
libNtve_gf_SetDialogItemStyle(DialogControlLastCreated(), "TutorialButtonText", PlayerGroupAll())
// L1278
libNtve_gf_SetDialogItemStyle(DialogControlLastCreated(), "TutorialMenuTitle", PlayerGroupAll())
// L440
libNtve_gf_SetDialogItemStyle(lv_lABEL, "ChallengeReady", PlayerGroupAll())
// L1668
libNtve_gf_SetDialogItemStyle(lv_racingStartTEXT, "ChallengeReady", PlayerGroupAll())
// L972
libNtve_gf_SetDialogItemStyle(lv_racingStartTEXT, "ChallengeReady", PlayerGroupAll())
// L1009
libNtve_gf_SetDialogItemStyle(lv_racingStartTEXT, "ChallengeReady", PlayerGroupAll())
// L537
libNtve_gf_SetDialogItemStyle(lv_racingStartTEXT, "ChallengeReady", PlayerGroupAll())
// L799
libNtve_gf_SetDialogItemStyle(lv_racingStartTEXT, "ChallengeReady", PlayerGroupAll())
// L1516
libNtve_gf_SetDialogItemStyle(lv_racingStartTEXT, "ChallengeReady", PlayerGroupAll())
// L1577
libNtve_gf_SetDialogItemStyle(lv_racingStartTEXT, "ChallengeReady", PlayerGroupAll())

# campaigns/libertystory.sc2campaign

CampaignLib.galaxy

// L1966
libNtve_gf_SetDialogItemStyle(DialogControlLastCreated(), lp_titleStyle, PlayerGroupAll())
// L1972
libNtve_gf_SetDialogItemStyle(DialogControlLastCreated(), lp_bodyStyle1, PlayerGroupAll())
// L1978
libNtve_gf_SetDialogItemStyle(DialogControlLastCreated(), lp_bodyStyle2, PlayerGroupAll())
// L5706
libNtve_gf_SetDialogItemStyle(DialogControlLastCreated(), "RoomChangePanelText", PlayerGroupAll())
// L5725
libNtve_gf_SetDialogItemStyle(DialogControlLastCreated(), "RoomChangePanelTextDisabled", PlayerGroupAll())
// L10465
libNtve_gf_SetDialogItemStyle(DialogControlLastCreated(), "DebugProgressPanelMission", PlayerGroupAll())
// L10474
libNtve_gf_SetDialogItemStyle(DialogControlLastCreated(), "DebugProgressPanelLabelUnlock", PlayerGroupAll())
// L10480
libNtve_gf_SetDialogItemStyle(DialogControlLastCreated(), "DebugProgressPanelLabelProgress", PlayerGroupAll())
// L10486
libNtve_gf_SetDialogItemStyle(DialogControlLastCreated(), "DebugProgressPanelLabelUnit", PlayerGroupAll())
// L10492
libNtve_gf_SetDialogItemStyle(DialogControlLastCreated(), "DebugProgressPanelLabelCredits", PlayerGroupAll())

# campaigns/swarm.sc2campaign

MapScript.galaxy

// L727
libNtve_gf_SetDialogItemStyle(DialogControlLastCreated(), "LoadingScreenTitle", PlayerGroupAll())
// L5070
libNtve_gf_SetDialogItemStyle(gv_s3EscapeDialogTitle, "AmonShadowTextTitle", PlayerGroupAll())
// L5074
libNtve_gf_SetDialogItemStyle(gv_s3EscapeDialogTimeRemaining, "AmonShadowTextScore", PlayerGroupAll())
// L727
libNtve_gf_SetDialogItemStyle(DialogControlLastCreated(), "LoadingScreenTitle", PlayerGroupAll())
// L5070
libNtve_gf_SetDialogItemStyle(gv_s3EscapeDialogTitle, "AmonShadowTextTitle", PlayerGroupAll())
// L5074
libNtve_gf_SetDialogItemStyle(gv_s3EscapeDialogTimeRemaining, "AmonShadowTextScore", PlayerGroupAll())

# campaigns/swarmstory.sc2campaign

SwarmCampaignLib.galaxy

// L8718
libNtve_gf_SetDialogItemStyle(libSwaC_gv_zS_ArmyCustomUpgradeNameLabels[lv_index], "ArmyCustomizationSelectedUnitName", PlayerGroupAll())
// L8723
libNtve_gf_SetDialogItemStyle(libSwaC_gv_zS_ArmyCustomUpgradeNameLabels[lv_index], "ArmyCustomizationUpgradeName", PlayerGroupAll())
// L9311
libNtve_gf_SetDialogItemStyle(DialogControlLastCreated(), "ArmyCustomizationUnitSplitFanfare", PlayerGroupAll())
// L9691
libNtve_gf_SetDialogItemStyle(DialogControlLastCreated(), "ArmyCustomizationDialog_CheckboxLabel", PlayerGroupAll())
// L9710
libNtve_gf_SetDialogItemStyle(DialogControlLastCreated(), "ArmyCustomizationDialog_CheckboxLabel", PlayerGroupAll())
// L11648
libNtve_gf_SetDialogItemStyle(libSwaC_gv_zS_KerriganUITierButtonLabel[lv_tier][lv_tierIndex], "KerriganCustomizationPanelAbilityNameSelected", PlayerGroupAll())
// L11652
libNtve_gf_SetDialogItemStyle(libSwaC_gv_zS_KerriganUITierButtonLabel[lv_tier][lv_tierIndex], "KerriganCustomizationPanelAbilityName", PlayerGroupAll())
// L14592
libNtve_gf_SetDialogItemStyle(DialogControlLastCreated(), "DebugProgressPanelMissionHotS", PlayerGroupAll())
// L14596
libNtve_gf_SetDialogItemStyle(DialogControlLastCreated(), "DebugProgressPanelLabelTopRight", PlayerGroupAll())
// L14601
libNtve_gf_SetDialogItemStyle(DialogControlLastCreated(), "DebugProgressPanelLabelBottomLeft", PlayerGroupAll())

# campaigns/swarmstoryutil.sc2mod

Lib281DEC45.galaxy

// L902
libNtve_gf_SetDialogItemStyle(lib281DEC45_gv_zSS_UIArchivesDifficultyLabels[1], "SwarmMissionArchiveDifficultyCompletedLabel", PlayerGroupAll())
// L903
libNtve_gf_SetDialogItemStyle(lib281DEC45_gv_zSS_UIArchivesDifficultyTimes[1], "SwarmMissionArchiveDifficultyTimeCompletedLabel", PlayerGroupAll())
// L906
libNtve_gf_SetDialogItemStyle(lib281DEC45_gv_zSS_UIArchivesDifficultyLabels[1], "SwarmMissionArchiveDifficultyLabel", PlayerGroupAll())
// L907
libNtve_gf_SetDialogItemStyle(lib281DEC45_gv_zSS_UIArchivesDifficultyTimes[1], "SwarmMissionArchiveDifficultyTimeLabel", PlayerGroupAll())
// L910
libNtve_gf_SetDialogItemStyle(lib281DEC45_gv_zSS_UIArchivesDifficultyLabels[2], "SwarmMissionArchiveDifficultyCompletedLabel", PlayerGroupAll())
// L911
libNtve_gf_SetDialogItemStyle(lib281DEC45_gv_zSS_UIArchivesDifficultyTimes[2], "SwarmMissionArchiveDifficultyTimeCompletedLabel", PlayerGroupAll())
// L914
libNtve_gf_SetDialogItemStyle(lib281DEC45_gv_zSS_UIArchivesDifficultyLabels[2], "SwarmMissionArchiveDifficultyLabel", PlayerGroupAll())
// L915
libNtve_gf_SetDialogItemStyle(lib281DEC45_gv_zSS_UIArchivesDifficultyTimes[2], "SwarmMissionArchiveDifficultyTimeLabel", PlayerGroupAll())
// L918
libNtve_gf_SetDialogItemStyle(lib281DEC45_gv_zSS_UIArchivesDifficultyLabels[3], "SwarmMissionArchiveDifficultyCompletedLabel", PlayerGroupAll())
// L919
libNtve_gf_SetDialogItemStyle(lib281DEC45_gv_zSS_UIArchivesDifficultyTimes[3], "SwarmMissionArchiveDifficultyTimeCompletedLabel", PlayerGroupAll())

# campaigns/void.sc2campaign

MapScript.galaxy

// L1153
libNtve_gf_SetDialogItemStyle(DialogControlLastCreated(), lv_textStyle, PlayerGroupAll())
// L1203
libNtve_gf_SetDialogItemStyle(DialogControlLastCreated(), lv_textStyle, PlayerGroupAll())