# Dialog Item Tooltip

Grammar — Tooltip of dialogItem for player
FlagsFunction

Returns the tooltip text of a dialog item.

# Arguments

  • int<control> — Dialog Item
  • int — Player

Returns — text

text libNtve_gf_DialogItemTooltip(
	int lp_dialogItem,
	int lp_player,
);

Category: Dialog / Dialog Item Tools

# Examples

mods/starcoop/starcoop.sc2modbase.sc2data/LibCOUI.galaxy:5632

                    libNtve_gf_SetDialogItemImage(libCOUI_gv_cU_WaveTimerWindowIcon[(lv_windowIndex-1)][lv_slotIndex], libCOUI_gv_cU_WaveTimerWindowImage[(lv_windowIndex-1)][lv_slotIndex], PlayerGroupAll());
                    DialogControlSetVisible(libCOUI_gv_cU_WaveTimerWindowIcon[(lv_windowIndex-1)][lv_slotIndex], PlayerGroupAll(), true);
                    libNtve_gf_SetDialogItemTooltip(libCOUI_gv_cU_WaveTimerWindowIcon[(lv_windowIndex-1)][lv_slotIndex], libNtve_gf_DialogItemTooltip(libCOUI_gv_cU_WaveTimerWindowIcon[lv_windowIndex][lv_slotIndex], 1), PlayerGroupAll());
                }
                else {