# Set Dialog Item Text

Grammar — Set dialogItem text to text for players
FlagsAction

Sets the text that appears within the dialog item.

# Arguments

  • int [ control ] — Dialog Item
  • text — Text
  • playergroup — Players

Returns — void

void libNtve_gf_SetDialogItemText(
	int lp_dialogItem,
	text lp_text,
	playergroup lp_players,
);

Category: Dialog / Dialog Items

# Examples

# campaigns/liberty.sc2campaign

MapScript.galaxy

// L3492
libNtve_gf_SetDialogItemText(lv_textRight, (IntToText(lv_shotDownTotal) + StringExternal("Param/Value/C4230C9B") + IntToText(FixedToInt((IntToFixed((lv_shotDownTotal * 100)) / IntToFixed(gv_levelTotalEnemy)))) + StringExternal("Param/Value/DDBC414E")), PlayerGroupAll())
// L3495
libNtve_gf_SetDialogItemText(lv_textRight, (IntToText(lv_shotDownTotal) + StringExternal("Param/Value/75C25378") + IntToText(0) + StringExternal("Param/Value/EA25C3C3")), PlayerGroupAll())
// L3526
libNtve_gf_SetDialogItemText(lv_textRight, (IntToText(lv_pickupTotal) + StringExternal("Param/Value/CBF8FDF4") + IntToText(FixedToInt((IntToFixed((lv_pickupTotal * 100)) / IntToFixed(gv_levelTotalPowerups)))) + StringExternal("Param/Value/A4B46239")), PlayerGroupAll())
// L3529
libNtve_gf_SetDialogItemText(lv_textRight, (IntToText(lv_pickupTotal) + StringExternal("Param/Value/F18B9843") + IntToText(0) + StringExternal("Param/Value/BFEE0BF7")), PlayerGroupAll())
// L3608
libNtve_gf_SetDialogItemText(DialogControlLastCreated(), (lp_name + StringExternal("Param/Value/2C7CAC21")), PlayerGroupAll())
// L3656
libNtve_gf_SetDialogItemText(DialogControlLastCreated(), (lp_name + StringExternal("Param/Value/83992C50")), PlayerGroupAll())
// L3685
libNtve_gf_SetDialogItemText(DialogControlLastCreated(), StringExternal("Param/Value/07FB6665"), PlayerGroupAll())
// L3697
libNtve_gf_SetDialogItemText(DialogControlLastCreated(), StringExternal("Param/Value/79644248"), PlayerGroupAll())
// L3724
libNtve_gf_SetDialogItemText(DialogControlLastCreated(), StringExternal("Param/Value/607FA80C"), PlayerGroupAll())
// L3747
libNtve_gf_SetDialogItemText(DialogControlLastCreated(), StringExternal("Param/Value/6F9F5C01"), PlayerGroupAll())
// L3466
libNtve_gf_SetDialogItemText(DialogControlLastCreated(), StringExternal("Param/Value/389A3D3E"), PlayerGroupAll())
// L10405
libNtve_gf_SetDialogItemText(DialogControlLastCreated(), StringExternal("Param/Value/606D8E23"), PlayerGroupAll())
// L10415
libNtve_gf_SetDialogItemText(DialogControlLastCreated(), StringExternal("Param/Value/EC6381F4"), PlayerGroupAll())
// L10427
libNtve_gf_SetDialogItemText(DialogControlLastCreated(), StringExternal("Param/Value/5FCB1CD5"), PlayerGroupAll())
// L10451
libNtve_gf_SetDialogItemText(DialogControlLastCreated(), StringExternal("Param/Value/0C4F1FD9"), PlayerGroupAll())
// L10526
libNtve_gf_SetDialogItemText(gv_zPlanetPanel_LabelMissionInfo, (StringExternal("Param/Value/FB0492C5") + libCamp_gf_MissionNameInUpperCase(gv_zPlanetPanel_Mission) + StringExternal("Param/Value/1D4E33C9") + libCamp_gf_MissionObjectivesText(gv_zPlanetPanel_Mission) + StringExternal("Param/Value/11D685B7") + libCamp_gf_PlanetMissionResearchOpportunitiesText(gv_zPlanetPanel_Mission, StringExternal("Param/Value/491BD4D7"), StringExternal("Param/Value/C954C6A0"))), PlayerGroupAll())
// L10677
libNtve_gf_SetDialogItemText(DialogControlLastCreated(), lp_header, PlayerGroupAll())
// L10688
libNtve_gf_SetDialogItemText(DialogControlLastCreated(), lp_text, PlayerGroupAll())
// L10724
libNtve_gf_SetDialogItemText(DialogControlLastCreated(), lp_headerText, PlayerGroupAll())
// L10734
libNtve_gf_SetDialogItemText(DialogControlLastCreated(), lp_text, PlayerGroupAll())
// L566
libNtve_gf_SetDialogItemText(lp_button, (StringExternal("Param/Value/FBD20468") + TextCase(lp_buttonText, true) + StringExternal("Param/Value/EB9676F2")), PlayerGroupAll())
// L1216
libNtve_gf_SetDialogItemText(libNtve_gf_ScreenButton(1), StringExternal("Param/Value/FC58AB37"), PlayerGroupAll())
// L1221
libNtve_gf_SetDialogItemText(libNtve_gf_ScreenButton(1), (StringExternal("Param/Value/ADB51156") + StringExternal("Param/Value/D927B1B4") + libCamp_gf_FormatTimeCampaign(FixedToInt(UnitAbilityGetCooldown(gv_artifact, "EnergyNova", "Abil/Supernova"))) + StringExternal("Param/Value/4B589141")), PlayerGroupAll())
// L441
libNtve_gf_SetDialogItemText(lv_lABEL, StringExternal("Param/Value/D917C439"), PlayerGroupAll())
// L1669
libNtve_gf_SetDialogItemText(lv_racingStartTEXT, StringExternal("Param/Value/46BCB542"), PlayerGroupAll())
// L973
libNtve_gf_SetDialogItemText(lv_racingStartTEXT, StringExternal("Param/Value/292B9F8C"), PlayerGroupAll())
// L1010
libNtve_gf_SetDialogItemText(lv_racingStartTEXT, StringExternal("Param/Value/245A3545"), PlayerGroupAll())
// L538
libNtve_gf_SetDialogItemText(lv_racingStartTEXT, StringExternal("Param/Value/608FA6B5"), PlayerGroupAll())
// L800
libNtve_gf_SetDialogItemText(lv_racingStartTEXT, StringExternal("Param/Value/A6BE1E38"), PlayerGroupAll())
// L1517
libNtve_gf_SetDialogItemText(lv_racingStartTEXT, StringExternal("Param/Value/BE4506F5"), PlayerGroupAll())
// L1578
libNtve_gf_SetDialogItemText(lv_racingStartTEXT, StringExternal("Param/Value/E8E6A3F1"), PlayerGroupAll())
// L3492
libNtve_gf_SetDialogItemText(lv_textRight, (IntToText(lv_shotDownTotal) + StringExternal("Param/Value/C4230C9B") + IntToText(FixedToInt((IntToFixed((lv_shotDownTotal * 100)) / IntToFixed(gv_levelTotalEnemy)))) + StringExternal("Param/Value/DDBC414E")), PlayerGroupAll())
// L3495
libNtve_gf_SetDialogItemText(lv_textRight, (IntToText(lv_shotDownTotal) + StringExternal("Param/Value/75C25378") + IntToText(0) + StringExternal("Param/Value/EA25C3C3")), PlayerGroupAll())
// L3526
libNtve_gf_SetDialogItemText(lv_textRight, (IntToText(lv_pickupTotal) + StringExternal("Param/Value/CBF8FDF4") + IntToText(FixedToInt((IntToFixed((lv_pickupTotal * 100)) / IntToFixed(gv_levelTotalPowerups)))) + StringExternal("Param/Value/A4B46239")), PlayerGroupAll())
// L3529
libNtve_gf_SetDialogItemText(lv_textRight, (IntToText(lv_pickupTotal) + StringExternal("Param/Value/F18B9843") + IntToText(0) + StringExternal("Param/Value/BFEE0BF7")), PlayerGroupAll())
// L3608
libNtve_gf_SetDialogItemText(DialogControlLastCreated(), (lp_name + StringExternal("Param/Value/2C7CAC21")), PlayerGroupAll())
// L3656
libNtve_gf_SetDialogItemText(DialogControlLastCreated(), (lp_name + StringExternal("Param/Value/83992C50")), PlayerGroupAll())
// L3685
libNtve_gf_SetDialogItemText(DialogControlLastCreated(), StringExternal("Param/Value/07FB6665"), PlayerGroupAll())
// L3697
libNtve_gf_SetDialogItemText(DialogControlLastCreated(), StringExternal("Param/Value/79644248"), PlayerGroupAll())
// L3724
libNtve_gf_SetDialogItemText(DialogControlLastCreated(), StringExternal("Param/Value/607FA80C"), PlayerGroupAll())
// L3747
libNtve_gf_SetDialogItemText(DialogControlLastCreated(), StringExternal("Param/Value/6F9F5C01"), PlayerGroupAll())
// L3466
libNtve_gf_SetDialogItemText(DialogControlLastCreated(), StringExternal("Param/Value/389A3D3E"), PlayerGroupAll())
// L10405
libNtve_gf_SetDialogItemText(DialogControlLastCreated(), StringExternal("Param/Value/606D8E23"), PlayerGroupAll())
// L10415
libNtve_gf_SetDialogItemText(DialogControlLastCreated(), StringExternal("Param/Value/EC6381F4"), PlayerGroupAll())
// L10427
libNtve_gf_SetDialogItemText(DialogControlLastCreated(), StringExternal("Param/Value/5FCB1CD5"), PlayerGroupAll())
// L10451
libNtve_gf_SetDialogItemText(DialogControlLastCreated(), StringExternal("Param/Value/0C4F1FD9"), PlayerGroupAll())
// L10526
libNtve_gf_SetDialogItemText(gv_zPlanetPanel_LabelMissionInfo, (StringExternal("Param/Value/FB0492C5") + libCamp_gf_MissionNameInUpperCase(gv_zPlanetPanel_Mission) + StringExternal("Param/Value/1D4E33C9") + libCamp_gf_MissionObjectivesText(gv_zPlanetPanel_Mission) + StringExternal("Param/Value/11D685B7") + libCamp_gf_PlanetMissionResearchOpportunitiesText(gv_zPlanetPanel_Mission, StringExternal("Param/Value/491BD4D7"), StringExternal("Param/Value/C954C6A0"))), PlayerGroupAll())
// L10677
libNtve_gf_SetDialogItemText(DialogControlLastCreated(), lp_header, PlayerGroupAll())
// L10688
libNtve_gf_SetDialogItemText(DialogControlLastCreated(), lp_text, PlayerGroupAll())
// L10724
libNtve_gf_SetDialogItemText(DialogControlLastCreated(), lp_headerText, PlayerGroupAll())
// L10734
libNtve_gf_SetDialogItemText(DialogControlLastCreated(), lp_text, PlayerGroupAll())
// L566
libNtve_gf_SetDialogItemText(lp_button, (StringExternal("Param/Value/FBD20468") + TextCase(lp_buttonText, true) + StringExternal("Param/Value/EB9676F2")), PlayerGroupAll())
// L1216
libNtve_gf_SetDialogItemText(libNtve_gf_ScreenButton(1), StringExternal("Param/Value/FC58AB37"), PlayerGroupAll())
// L1221
libNtve_gf_SetDialogItemText(libNtve_gf_ScreenButton(1), (StringExternal("Param/Value/ADB51156") + StringExternal("Param/Value/D927B1B4") + libCamp_gf_FormatTimeCampaign(FixedToInt(UnitAbilityGetCooldown(gv_artifact, "EnergyNova", "Abil/Supernova"))) + StringExternal("Param/Value/4B589141")), PlayerGroupAll())
// L441
libNtve_gf_SetDialogItemText(lv_lABEL, StringExternal("Param/Value/D917C439"), PlayerGroupAll())
// L1669
libNtve_gf_SetDialogItemText(lv_racingStartTEXT, StringExternal("Param/Value/46BCB542"), PlayerGroupAll())
// L973
libNtve_gf_SetDialogItemText(lv_racingStartTEXT, StringExternal("Param/Value/292B9F8C"), PlayerGroupAll())
// L1010
libNtve_gf_SetDialogItemText(lv_racingStartTEXT, StringExternal("Param/Value/245A3545"), PlayerGroupAll())
// L538
libNtve_gf_SetDialogItemText(lv_racingStartTEXT, StringExternal("Param/Value/608FA6B5"), PlayerGroupAll())
// L800
libNtve_gf_SetDialogItemText(lv_racingStartTEXT, StringExternal("Param/Value/A6BE1E38"), PlayerGroupAll())
// L1517
libNtve_gf_SetDialogItemText(lv_racingStartTEXT, StringExternal("Param/Value/BE4506F5"), PlayerGroupAll())
// L1578
libNtve_gf_SetDialogItemText(lv_racingStartTEXT, StringExternal("Param/Value/E8E6A3F1"), PlayerGroupAll())

# campaigns/libertystory.sc2campaign

CampaignLib.galaxy

// L1876
libNtve_gf_SetDialogItemText(DialogControlLastCreated(), lp_label, PlayerGroupAll())
// L1960
libNtve_gf_SetDialogItemText(DialogControlLastCreated(), lp_buttonText, PlayerGroupAll())
// L1965
libNtve_gf_SetDialogItemText(DialogControlLastCreated(), lp_title, PlayerGroupAll())
// L1971
libNtve_gf_SetDialogItemText(DialogControlLastCreated(), lp_body1, PlayerGroupAll())
// L1977
libNtve_gf_SetDialogItemText(DialogControlLastCreated(), lp_body2, PlayerGroupAll())
// L5702
libNtve_gf_SetDialogItemText(DialogControlLastCreated(), lp_roomName, PlayerGroupAll())
// L5722
libNtve_gf_SetDialogItemText(DialogControlLastCreated(), lp_roomName, PlayerGroupAll())
// L10800
libNtve_gf_SetDialogItemText(libCamp_gv_tS_DebugProgressLabelWarning, StringExternal("Param/Value/lib_Camp_2D52D070"), PlayerGroupAll())
// L10811
libNtve_gf_SetDialogItemText(libCamp_gv_tS_DebugProgressLabelWarning, StringExternal("Param/Value/lib_Camp_9D65649A"), PlayerGroupAll())
// L10838
libNtve_gf_SetDialogItemText(libCamp_gv_tS_DebugProgressMissionLabelsUnits[lv_indexMission], libCamp_gf_TS_DebugProgressFormatMissionUnitUnlocked(libCamp_gf_TS_MapIDFromIndex(lv_indexMission)), PlayerGroupAll())

# campaigns/swarm.sc2campaign

MapScript.galaxy

// L2356
libNtve_gf_SetDialogItemText(lv_warpAwayLabel, StringExternal("Param/Value/B51869CD"), PlayerGroupAll())
// L2376
libNtve_gf_SetDialogItemText(lv_warpAwayValue, TextTimeFormat(StringToText("<sectotal/>"), FixedToInt(lv_timetoTarget)), PlayerGroupAll())
// L703
libNtve_gf_SetDialogItemText(gv_escapePodDlgLabel[lp_escapePodNo], StringExternal("Param/Value/ACD44553"), PlayerGroupAll())
// L704
libNtve_gf_SetDialogItemText(gv_escapePodDlgValue[lp_escapePodNo], IntToText(lp_progress), PlayerGroupAll())
// L407
libNtve_gf_SetDialogItemText(gv_templeChannelUINameLabel, StringExternal("Param/Value/670EDD43"), PlayerGroupAll())
// L436
libNtve_gf_SetDialogItemText(gv_templeChannelUITime, TextTimeFormat(StringToText("<sectotal/>"), FixedToInt(lp_channelTimeRemaining)), PlayerGroupAll())
// L1729
libNtve_gf_SetDialogItemText(DialogControlLastCreated(), UnitTypeGetName(UnitGetType(gv_kerrigan)), PlayerGroupAll())
// L1734
libNtve_gf_SetDialogItemText(DialogControlLastCreated(), UnitTypeGetName(UnitGetType(gv_kerrigan2)), PlayerGroupAll())
// L678
libNtve_gf_SetDialogItemText(gv_bileLauncherDlgLabel[lp_index], StringExternal("Param/Value/53449720"), PlayerGroupAll())
// L680
libNtve_gf_SetDialogItemText(gv_bileLauncherDlgValue[lp_index], TextExpressionAssemble("Param/Expression/5F5FA2DF"), PlayerGroupAll())
// L9870
libNtve_gf_SetDialogItemText(gv_campaignIntroLabel, ConversationDataStateText("StoryModeText|Campaign_Intro_Text_A", "Description"), PlayerGroupAll())
// L6417
libNtve_gf_SetDialogItemText(gv_buttonSecurityComputer_ReleaseZerg, StringExternal("Param/Value/7F50C7E1"), PlayerGroupAll())
// L6421
libNtve_gf_SetDialogItemText(lv_labelReleaseZerg, StringExternal("Param/Value/3F408EB8"), PlayerGroupAll())
// L6432
libNtve_gf_SetDialogItemText(gv_buttonSecurityComputer_ReleaseGas, StringExternal("Param/Value/43CFA05C"), PlayerGroupAll())
// L6436
libNtve_gf_SetDialogItemText(lv_labelReleaseGas, StringExternal("Param/Value/95FB446A"), PlayerGroupAll())
// L905
libNtve_gf_SetDialogItemText(gv_meatDialogValue[lp_meatIndex], IntToText(lp_progress), PlayerGroupAll())
// L917
libNtve_gf_SetDialogItemText(gv_meatDialogLabel[lp_meatIndex], StringExternal("Param/Value/37C063F8"), PlayerGroupAll())
// L920
libNtve_gf_SetDialogItemText(gv_meatDialogLabel[lp_meatIndex], StringExternal("Param/Value/3FC1A87F"), PlayerGroupAll())
// L2849
libNtve_gf_SetDialogItemText(DialogControlLastCreated(), StringExternal("Param/Value/B97989F9"), PlayerGroupAll())
// L2863
libNtve_gf_SetDialogItemText(gv_spawnLocustButton, StringExternal("Param/Value/F130CE64"), PlayerGroupAll())
// L2873
libNtve_gf_SetDialogItemText(gv_spawnLocustButton, TextExpressionAssemble("Param/Expression/A35860D2"), PlayerGroupAll())
// L5084
libNtve_gf_SetDialogItemText(gv_s3EscapeDialogTimeRemaining, TextTimeFormat(StringToText("<mintotal/>:<sec2/>"), FixedToInt(TimerGetRemaining(gv_s3EscapeTimer))), PlayerGroupAll())
// L2356
libNtve_gf_SetDialogItemText(lv_warpAwayLabel, StringExternal("Param/Value/B51869CD"), PlayerGroupAll())
// L2376
libNtve_gf_SetDialogItemText(lv_warpAwayValue, TextTimeFormat(StringToText("<sectotal/>"), FixedToInt(lv_timetoTarget)), PlayerGroupAll())
// L703
libNtve_gf_SetDialogItemText(gv_escapePodDlgLabel[lp_escapePodNo], StringExternal("Param/Value/ACD44553"), PlayerGroupAll())
// L704
libNtve_gf_SetDialogItemText(gv_escapePodDlgValue[lp_escapePodNo], IntToText(lp_progress), PlayerGroupAll())
// L407
libNtve_gf_SetDialogItemText(gv_templeChannelUINameLabel, StringExternal("Param/Value/670EDD43"), PlayerGroupAll())
// L436
libNtve_gf_SetDialogItemText(gv_templeChannelUITime, TextTimeFormat(StringToText("<sectotal/>"), FixedToInt(lp_channelTimeRemaining)), PlayerGroupAll())