Quantcast
WoWInterface - View Single Post - LFG Applicant Tooltip hook?
View Single Post
04-27-18, 10:54 PM   #1
Healingz
A Defias Bandit
 
Healingz's Avatar
Join Date: Aug 2016
Posts: 3
LFG Applicant Tooltip hook?

Hi,

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.

Thanks!

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