Hello everyone!
I am using following addon to cycle through my Party frames :
local f =
CreateFrame("Button","TabParty",nil,"SecureActionButtonTemplate")
f:SetAttribute("type","target")
SecureHandlerWrapScript(f,"OnClick",f,[[
local unit
for i=1,5 do
TabPartyIndex = (TabPartyIndex or 0)%5+1
if TabPartyIndex==5 then
unit = "player"
else
unit = "party"..TabPartyIndex
end
if UnitExists(unit) then
self:SetAttribute("unit",unit)
break
end
end
]])
Heres my Question:
Is there a Way to alter the Code so the addon cycles in the Different direction?
Id be super happy if someone could help me
Greeting Furyan