Shestak UI
Go Back   Shestak UI > Interface Forums > Other Community > Skinning

Skinning Share your custom skins with ShestakUI or others AddOns.

Advertising

 
Thread Tools
Old 08.10.2010, 07:48   #1
 Assistant User Information

nanjiqq's Avatar
YES,hunter

i add the hunter function as the mage and paladin.look picture.

next,i want to add the health and DPS raid, Can you give some suggestion for me?

this's hunter picture and 1.6.3 raid code.
Click image for larger version

Name:	快捷--守护.jpg
Views:	159
Size:	230.2 KB
ID:	264

Code [Select]:
local raid = {}
for i = 1, settings.NumRaidGroups do
	local raidgroup = oUF:Spawn("header", "oUF_Raid"..i)
	raidgroup:SetManyAttributes("groupFilter", tostring(i), "showRaid", true, 
	"columnSpacing", 7, "unitsPerColumn", 1,   
	"maxColumns", 5,   
	"columnAnchorPoint", "LEFT",
	"yOffSet", -7,   
	"xOffset", 5)
	table.insert(raid, raidgroup)
	if settings.RaidPet then
		if i==1 then
			raidgroup:SetPoint("LEFT", "oUF_Player", "RIGHT", cfg.raidX, cfg.raidY-15)
		else
			raidgroup:SetPoint("LEFT", raid[i-1], "LEFT", 0, -35)
		end
		raidgroup:SetAttribute("template", "oUF_RaidPet")
	else
		if i==1 then
			raidgroup:SetPoint("LEFT", "oUF_Player", "RIGHT", cfg.raidX-6, cfg.raidY+1)
		else
			raidgroup:SetPoint("LEFT", raid[i-1], "LEFT", 0, -32)
		end
	end
end
Old 08.10.2010, 07:48   #1.5 - Disable Ads

Advertise on this site


Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
Hunter Spells for Filger lokeykyl Technical Support 0 16.09.2010 03:17


Mobile Style Русский English Deutsch Italian Chinese