Hello Friends!
I am new to coding and Lua.
So I got a book and have been working off examples.
I got a mouseover addon to work here is the part I have a question(s) on:
Code:
local function showtooltip(self, linkData)
local linkType = string.split(":", linkData)
if linkType == "item"
or linkType == "spell"
or linkType == "achievement"
or linkType == "unit" <--- is there a way to add raid progress for a lockout for example?
or linkType == "enchant" Like when people link there raid ID asking for members?
or linkType == "quest"
or linkType == "glyph"
or linkType == "talent" then
GameTooltip:SetOwner(self, "ANCHOR_CURSOR")
GameTooltip:SetHyperlink(linkData)
I'd really appreciate any guidance.