Thread Tools Display Modes
02-02-17, 05:20 PM   #1
candrid
Premium Member
 
candrid's Avatar
Premium Member
AddOn Author - Click to view addons
Join Date: Aug 2008
Posts: 61
Raid Progress Mouseovers

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.
Attached Files
File Type: lua core.lua (1.1 KB, 108 views)
  Reply With Quote
02-02-17, 07:02 PM   #2
Lombra
A Molten Giant
 
Lombra's Avatar
AddOn Author - Click to view addons
Join Date: Nov 2006
Posts: 554
"instancelock" should be what you're looking for.
__________________
Grab your sword and fight the Horde!
  Reply With Quote
02-10-17, 05:07 AM   #3
candrid
Premium Member
 
candrid's Avatar
Premium Member
AddOn Author - Click to view addons
Join Date: Aug 2008
Posts: 61
Thanks Ill test that out.
  Reply With Quote

WoWInterface » Developer Discussions » Lua/XML Help » Raid Progress Mouseovers

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