# Set Dialog Item Color

Grammar — Set dialogItem color to color for players
FlagsAction

Sets the color of a dialog item.

# Arguments

  • int [ control ] — Dialog Item
  • color — Color
  • playergroup — Players

Returns — void

void libNtve_gf_SetDialogItemColor(
	int lp_dialogItem,
	color lp_color,
	playergroup lp_players,
);

Category: Dialog / Dialog Item Tools

# Examples

# campaigns/liberty.sc2campaign

MapScript.galaxy

// L3459
libNtve_gf_SetDialogItemColor(DialogControlLastCreated(), Color(0.00, 100.00, 4.71), PlayerGroupAll())
// L3467
libNtve_gf_SetDialogItemColor(DialogControlLastCreated(), Color(12.94, 75.69, 73.73), PlayerGroupAll())
// L3501
libNtve_gf_SetDialogItemColor(DialogControlLastCreated(), Color(12.94, 75.69, 73.73), PlayerGroupAll())
// L3586
libNtve_gf_SetDialogItemColor(DialogControlLastCreated(), Color(100.00, 0.00, 0.00), PlayerGroupAll())
// L3593
libNtve_gf_SetDialogItemColor(DialogControlLastCreated(), Color(0.00, 100.00, 0.00), PlayerGroupAll())
// L3600
libNtve_gf_SetDialogItemColor(DialogControlLastCreated(), Color(21.96, 79.61, 78.43), PlayerGroupAll())
// L3634
libNtve_gf_SetDialogItemColor(DialogControlLastCreated(), Color(100.00, 0.00, 0.00), PlayerGroupAll())
// L3641
libNtve_gf_SetDialogItemColor(DialogControlLastCreated(), Color(0.00, 100.00, 0.00), PlayerGroupAll())
// L3648
libNtve_gf_SetDialogItemColor(DialogControlLastCreated(), Color(21.96, 79.61, 78.43), PlayerGroupAll())
// L8501
libNtve_gf_SetDialogItemColor(DialogControlLastCreated(), Color(0,0,0), PlayerGroupAll())
// L2329
libNtve_gf_SetDialogItemColor(DialogControlLastCreated(), Color(0,0,0), PlayerGroupAll())
// L5085
libNtve_gf_SetDialogItemColor(DialogControlLastCreated(), Color(0.00, 0.00, 0.00), PlayerGroupAll())
// L10447
libNtve_gf_SetDialogItemColor(DialogControlLastCreated(), Color(21.96, 70.20, 24.71), PlayerGroupAll())
// L3459
libNtve_gf_SetDialogItemColor(DialogControlLastCreated(), Color(0.00, 100.00, 4.71), PlayerGroupAll())
// L3467
libNtve_gf_SetDialogItemColor(DialogControlLastCreated(), Color(12.94, 75.69, 73.73), PlayerGroupAll())
// L3501
libNtve_gf_SetDialogItemColor(DialogControlLastCreated(), Color(12.94, 75.69, 73.73), PlayerGroupAll())
// L3586
libNtve_gf_SetDialogItemColor(DialogControlLastCreated(), Color(100.00, 0.00, 0.00), PlayerGroupAll())
// L3593
libNtve_gf_SetDialogItemColor(DialogControlLastCreated(), Color(0.00, 100.00, 0.00), PlayerGroupAll())
// L3600
libNtve_gf_SetDialogItemColor(DialogControlLastCreated(), Color(21.96, 79.61, 78.43), PlayerGroupAll())
// L3634
libNtve_gf_SetDialogItemColor(DialogControlLastCreated(), Color(100.00, 0.00, 0.00), PlayerGroupAll())
// L3641
libNtve_gf_SetDialogItemColor(DialogControlLastCreated(), Color(0.00, 100.00, 0.00), PlayerGroupAll())
// L3648
libNtve_gf_SetDialogItemColor(DialogControlLastCreated(), Color(21.96, 79.61, 78.43), PlayerGroupAll())
// L8501
libNtve_gf_SetDialogItemColor(DialogControlLastCreated(), Color(0,0,0), PlayerGroupAll())
// L2329
libNtve_gf_SetDialogItemColor(DialogControlLastCreated(), Color(0,0,0), PlayerGroupAll())
// L5085
libNtve_gf_SetDialogItemColor(DialogControlLastCreated(), Color(0.00, 0.00, 0.00), PlayerGroupAll())
// L10447
libNtve_gf_SetDialogItemColor(DialogControlLastCreated(), Color(21.96, 70.20, 24.71), PlayerGroupAll())

# campaigns/libertystory.sc2campaign

CampaignLib.galaxy

// L1954
libNtve_gf_SetDialogItemColor(DialogControlLastCreated(), Color(6.27, 14.51, 24.71), PlayerGroupAll())
// L10464
libNtve_gf_SetDialogItemColor(DialogControlLastCreated(), Color(0.00, 100.00, 0.00), PlayerGroupAll())
// L10797
libNtve_gf_SetDialogItemColor(libCamp_gv_tS_DebugProgressImageCurrent, ColorWithAlpha(100.00, 0.00, 0.00, 49.80), PlayerGroupAll())
// L10798
libNtve_gf_SetDialogItemColor(libCamp_gv_tS_DebugProgressImageOK, ColorWithAlpha(100.00, 0.00, 0.00, 49.80), PlayerGroupAll())
// L10803
libNtve_gf_SetDialogItemColor(libCamp_gv_tS_DebugProgressImageCurrent, ColorWithAlpha(0.00, 100.00, 0.00, 49.80), PlayerGroupAll())
// L10804
libNtve_gf_SetDialogItemColor(libCamp_gv_tS_DebugProgressImageOK, ColorWithAlpha(0.00, 100.00, 0.00, 49.80), PlayerGroupAll())
// L10808
libNtve_gf_SetDialogItemColor(libCamp_gv_tS_DebugProgressImageCurrent, ColorWithAlpha(100.00, 100.00, 0.00, 49.80), PlayerGroupAll())
// L10809
libNtve_gf_SetDialogItemColor(libCamp_gv_tS_DebugProgressImageOK, ColorWithAlpha(100.00, 100.00, 0.00, 49.80), PlayerGroupAll())
// L13481
libNtve_gf_SetDialogItemColor(DialogControlLastCreated(), Color(0,0,0), PlayerGroupAll())
// L13514
libNtve_gf_SetDialogItemColor(DialogControlLastCreated(), Color(0,0,0), PlayerGroupAll())

# campaigns/swarm.sc2campaign

MapScript.galaxy

// L2378
libNtve_gf_SetDialogItemColor(lv_warpAwayProgressBar, libSwaC_gf_GetProgressBarColorCampaign(), PlayerGroupAll())
// L700
libNtve_gf_SetDialogItemColor(gv_escapePodDlgProgressBar[lp_escapePodNo], libSwaC_gf_GetProgressBarColorCampaign(), PlayerGroupAll())
// L706
libNtve_gf_SetDialogItemColor(gv_escapePodDlgValue[lp_escapePodNo], lv_textColor, PlayerGroupAll())
// L438
libNtve_gf_SetDialogItemColor(gv_templeChannelUIProgressBar, libSwaC_gf_GetProgressBarColorCampaign(), PlayerGroupAll())
// L1773
libNtve_gf_SetDialogItemColor(gv_nullZoneBarPortraitNarud, Color(100.00, 0.00, 0.00), PlayerGroupAll())
// L1777
libNtve_gf_SetDialogItemColor(gv_nullZoneBarPortraitKerrigan, Color(100.00, 0.00, 0.00), PlayerGroupAll())
// L650
libNtve_gf_SetDialogItemColor(DialogControlLastCreated(), Color(100.00, 61.57, 23.53), PlayerGroupAll())
// L675
libNtve_gf_SetDialogItemColor(gv_bileLauncherDlgProgressBar[lp_index], libSwaC_gf_GetProgressBarColorCampaign(), PlayerGroupAll())
// L879
libNtve_gf_SetDialogItemColor(gv_meatDialogProgressBar[lp_meatIndex], libSwaC_gf_GetProgressBarColorCampaign(), PlayerGroupAll())
// L880
libNtve_gf_SetDialogItemColor(gv_meatDialogValue[lp_meatIndex], Color(100,100,100), PlayerGroupAll())
// L5087
libNtve_gf_SetDialogItemColor(gv_s3EscapeDialogTimeRemaining, Color(100.00, 0.00, 0.00), PlayerGroupAll())
// L2378
libNtve_gf_SetDialogItemColor(lv_warpAwayProgressBar, libSwaC_gf_GetProgressBarColorCampaign(), PlayerGroupAll())
// L700
libNtve_gf_SetDialogItemColor(gv_escapePodDlgProgressBar[lp_escapePodNo], libSwaC_gf_GetProgressBarColorCampaign(), PlayerGroupAll())
// L706
libNtve_gf_SetDialogItemColor(gv_escapePodDlgValue[lp_escapePodNo], lv_textColor, PlayerGroupAll())
// L438
libNtve_gf_SetDialogItemColor(gv_templeChannelUIProgressBar, libSwaC_gf_GetProgressBarColorCampaign(), PlayerGroupAll())
// L1773
libNtve_gf_SetDialogItemColor(gv_nullZoneBarPortraitNarud, Color(100.00, 0.00, 0.00), PlayerGroupAll())
// L1777
libNtve_gf_SetDialogItemColor(gv_nullZoneBarPortraitKerrigan, Color(100.00, 0.00, 0.00), PlayerGroupAll())
// L650
libNtve_gf_SetDialogItemColor(DialogControlLastCreated(), Color(100.00, 61.57, 23.53), PlayerGroupAll())
// L675
libNtve_gf_SetDialogItemColor(gv_bileLauncherDlgProgressBar[lp_index], libSwaC_gf_GetProgressBarColorCampaign(), PlayerGroupAll())
// L879
libNtve_gf_SetDialogItemColor(gv_meatDialogProgressBar[lp_meatIndex], libSwaC_gf_GetProgressBarColorCampaign(), PlayerGroupAll())
// L880
libNtve_gf_SetDialogItemColor(gv_meatDialogValue[lp_meatIndex], Color(100,100,100), PlayerGroupAll())
// L5087
libNtve_gf_SetDialogItemColor(gv_s3EscapeDialogTimeRemaining, Color(100.00, 0.00, 0.00), PlayerGroupAll())

# campaigns/swarmstory.sc2campaign

SwarmCampaignLib.galaxy

// L578
libNtve_gf_SetDialogItemColor(DialogControlLastCreated(), Color(0.00, 0.00, 0.00), PlayerGroupAll())
// L1427
libNtve_gf_SetDialogItemColor(libSwaC_gv__FadeImage, lp_color, PlayerGroupAll())
// L1434
libNtve_gf_SetDialogItemColor(libSwaC_gv__FadeImage, lp_color, PlayerGroupAll())
// L2790
libNtve_gf_SetDialogItemColor(libSwaC_gv_zS_ProgressBarImageBar, lp_color, PlayerGroupAll())
// L3029
libNtve_gf_SetDialogItemColor(libSwaC_gv_zS_BB_HpCurrentImage, lp_color, PlayerGroupAll())
// L3035
libNtve_gf_SetDialogItemColor(libSwaC_gv_zS_BB_TitleLabel, lp_color, PlayerGroupAll())
// L14591
libNtve_gf_SetDialogItemColor(DialogControlLastCreated(), Color(0.00, 100.00, 0.00), PlayerGroupAll())
// L14642
libNtve_gf_SetDialogItemColor(DialogControlLastCreated(), Color(0,0,0), PlayerGroupAll())
// L14944
libNtve_gf_SetDialogItemColor(lp_label, Color(100.00, 0.00, 0.00), PlayerGroupAll())
// L14947
libNtve_gf_SetDialogItemColor(lp_label, Color(149*100/255,150*100/255,151*100/255), PlayerGroupAll())

# campaigns/void.sc2campaign

MapScript.galaxy

// L2057
libNtve_gf_SetDialogItemColor(gv_iDDQDIcon, Color(50.20, 50.20, 50.20), PlayerGroupAll())
// L2057
libNtve_gf_SetDialogItemColor(gv_iDDQDIcon, Color(50.20, 50.20, 50.20), PlayerGroupAll())

# campaigns/voidstory.sc2campaign

VoidCampaignLib.galaxy

// L142
libNtve_gf_SetDialogItemColor(DialogControlLastCreated(), Color(0,0,0), PlayerGroupAll())
// L905
libNtve_gf_SetDialogItemColor(DialogControlLastCreated(), Color(0.00, 100.00, 0.00), PlayerGroupAll())
// L983
libNtve_gf_SetDialogItemColor(DialogControlLastCreated(), ColorWithAlpha(0,0,0,0), PlayerGroupAll())
// L992
libNtve_gf_SetDialogItemColor(DialogControlLastCreated(), ColorWithAlpha(0,0,0,0), PlayerGroupAll())
// L995
libNtve_gf_SetDialogItemColor(DialogControlLastCreated(), Color(254*100/255,138*100/255,14*100/255), PlayerGroupAll())
// L998
libNtve_gf_SetDialogItemColor(DialogControlLastCreated(), ColorWithAlpha(0,0,0,0), PlayerGroupAll())
// L1210
libNtve_gf_SetDialogItemColor(lp_label, Color(100.00, 0.00, 0.00), PlayerGroupAll())
// L1213
libNtve_gf_SetDialogItemColor(lp_label, Color(149*100/255,150*100/255,151*100/255), PlayerGroupAll())
// L1216
libNtve_gf_SetDialogItemColor(lp_label, Color(19.61, 100.00, 19.61), PlayerGroupAll())
// L8287
libNtve_gf_SetDialogItemColor(DialogControlLastCreated(), Color(0.00, 0.00, 0.00), PlayerGroupAll())

# campaigns/voidstory.sc2campaign

VoidCampaignUILib.galaxy

// L3637
libNtve_gf_SetDialogItemColor(libVCUI_gv_pU_BB_HpCurrentImage, lp_color, PlayerGroupAll())
// L3643
libNtve_gf_SetDialogItemColor(libVCUI_gv_pU_BB_TitleLabel, lp_color, PlayerGroupAll())
// L4255
libNtve_gf_SetDialogItemColor(libVCUI_gv_pU_ProgressBarImageBar, lp_color, PlayerGroupAll())
// L4519
libNtve_gf_SetDialogItemColor(lv_progressBarProgressBar, libVCUI_gf_GetProgressBarColorCampaign(), PlayerGroupAll())
// L4784
libNtve_gf_SetDialogItemColor(lv_progressBarProgressBar, libVCUI_gf_GetProgressBarColorCampaign(), PlayerGroupAll())

# mods/challenges.sc2mod

LibChal.galaxy

// L435
libNtve_gf_SetDialogItemColor(DialogControlLastCreated(), Color(0.00, 100.00, 4.71), PlayerGroupAll())
// L438
libNtve_gf_SetDialogItemColor(DialogControlLastCreated(), Color(0.00, 42.75, 100.00), PlayerGroupAll())
// L441
libNtve_gf_SetDialogItemColor(DialogControlLastCreated(), Color(100.00, 56.86, 0.00), PlayerGroupAll())
// L494
libNtve_gf_SetDialogItemColor(DialogControlLastCreated(), Color(14.51, 89.80, 58.82), PlayerGroupAll())
// L497
libNtve_gf_SetDialogItemColor(DialogControlLastCreated(), Color(14.51, 55.29, 89.80), PlayerGroupAll())
// L500
libNtve_gf_SetDialogItemColor(DialogControlLastCreated(), Color(61.96, 38.82, 14.51), PlayerGroupAll())
// L698
libNtve_gf_SetDialogItemColor(DialogControlLastCreated(), Color(14.51, 89.80, 58.82), PlayerGroupAll())
// L701
libNtve_gf_SetDialogItemColor(DialogControlLastCreated(), Color(14.51, 55.29, 89.80), PlayerGroupAll())
// L704
libNtve_gf_SetDialogItemColor(DialogControlLastCreated(), Color(61.96, 38.82, 14.51), PlayerGroupAll())
// L763
libNtve_gf_SetDialogItemColor(DialogControlLastCreated(), Color(14.51, 89.80, 58.82), PlayerGroupAll())

# mods/core.sc2mod

NativeLib.galaxy

// L2652
libNtve_gf_SetDialogItemColor(lv_dialogitem, lp_tintColor, PlayerGroupAll())
// L2673
libNtve_gf_SetDialogItemColor(lv_dialogitem, lp_color, PlayerGroupAll())
// L4750
libNtve_gf_SetDialogItemColor(DialogControlLastCreated(), Color(78.43, 78.43, 0.00), libNtve_gv__BB_Players[lp_barID])
// L4814
libNtve_gf_SetDialogItemColor(DialogControlLastCreated(), Color(100.00, 0.00, 0.00), PlayerGroupAll())
// L4819
libNtve_gf_SetDialogItemColor(DialogControlLastCreated(), Color(0.00, 100.00, 0.00), PlayerGroupAll())