# Dialog Item Text

Grammar — Text of dialogItem for player
FlagsFunction

Returns the text of the dialog item for the specified player.

# Arguments

  • int [ control ] — Dialog Item
  • int — Player

Returns — text

text libNtve_gf_DialogItemText(
	int lp_dialogItem,
	int lp_player,
);

Category: Dialog / Dialog Items

# Examples

# campaigns/liberty.sc2campaign

MapScript.galaxy

// L3842
libNtve_gf_DialogItemText(lp_button, 1)
// L3842
libNtve_gf_DialogItemText(lp_button, 1)
// L1044
libNtve_gf_DialogItemText(gv_toggleButton, gv_pLAYER_01_USER)
// L2286
libNtve_gf_DialogItemText(gv_toggleButton, 1)
// L1044
libNtve_gf_DialogItemText(gv_toggleButton, gv_pLAYER_01_USER)
// L2286
libNtve_gf_DialogItemText(gv_toggleButton, 1)

# mods/heroesdata.stormmod

UILib.galaxy

// L8619
libNtve_gf_DialogItemText(libUIUI_gv_tutorialReferenceLabels[(lv_itIndex + 1)], 1)

# mods/starcoop/starcoop.sc2mod

LibCOUI.galaxy

// L5625
libNtve_gf_DialogItemText(libCOUI_gv_cU_WaveTimerWindowTitle[lv_windowIndex], 1)