How do I hook GameTooltip:OnTooltipSetItem ?
I want to add extra information to item stats shown in the tooltip. I just cant seem to get it to hook a function in that format. I'm not very experienced in lua :)
|
Quote:
But I personally do: Code:
local Orig_foo = foo Code:
tooltip:AddDoubleLine(textLeft, textRight, textLeft.r, textLeft.g, textLeft.b, textRight.r, textRight.g, textRight.b); |
Not quite Slakah, he wants to hook a script handler not a function...
Code:
local orig = GameTooltip:GetScript("OnTooltipSetItem") |
It's like a bad chain letter - you need to keep passing it along!
|
Ahhh thanks for the info.
|
Thanks, i'll give that a try!
|
All times are GMT -6. The time now is 06:28 AM. |
vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI