LFG Applicant Tooltip hook? - WoWInterface
Thread Tools Display Modes
Prev Previous Post   Next Post Next
04-27-18, 10:54 PM   #1
A Defias Bandit
Healingz's Avatar
Join Date: Aug 2016
Posts: 3
LFG Applicant Tooltip hook?


Complete addon newbie here. I was wondering if it was possible to add text to the LFG applicant tooltip in a similar way as player mouseover tooltip?

Lua Code:
  1. local function testText(self)
  2. local name, unit = self:GetUnit()
  3.     if unit then
  4.         GameTooltip:AddLine("New Text Added!", 1, 0.49, 0.04)
  5.     end
  6. end
  7. GameTooltip:HookScript("OnTooltipSetUnit", testText)

This works fine but was wondering how i could adapt this to the LFG applicant tooltip as well.


Last edited by Healingz : 04-27-18 at 11:01 PM.
  Reply With Quote

WoWInterface » Developer Discussions » General Authoring Discussion » LFG Applicant Tooltip hook?

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off