Question is, has anyone come across this addon? i'd love to get my hands on it for some good old fashioned experimentation! ;) for those who arent willing to watch the video, with the latest patch any party member can now assign targeting icons. the mod basically cycles through all icons above all party members heads. pointless? yes. useful? no. fun for a short time? most definitely!
so if anyone out there has this or knows where it's at, please for the love of god share it !
local addon = CreateFrame("Frame")
local t = 0
local partypos = 0
local iconpos = 0
local units = {"player", "party1", "party2", "party3", "party4"}
f:SetScript("OnUpdate", function(self, el)
if t > 1 then --update icons after a sec
local unit
if partypos == 5 then
partypos = 0
end
partypos = partypos + 1
if iconpos == 8 then
iconpos = 0
end
iconpos = iconpos + 1
SetRaidTarget(units[partypos], iconpos)
t = 0
end
t = t + el
end)
f:Hide()
local y = function()
addon:Show()
end
local n = function()
addon:Hide()
for i = 1, 5 do
SetRaidTarget(units[i], 0)
end
end
local cmds = setmetatable({
-- enable
on = y,
enable = y,
go = y,
["true"] = y,
y = y,
--disable
off = n,
disable = n,
stop = n,
["false"] = n,
n = n
}, {__index = function()
if addon:IsShown() then
n()
else y()
end
end})
SlashCmdList["ICONHELL"] = function(msg)
local a = msg:match("(%S+)")
if a then
cmds[a:lower()]()
end
end
SLASH_ICONHELL1 = "/iconhell"
SLASH_ICONHELL2 = "/ihell"
make an addon file stick in the code, then type /ihell .
quick warning, it's a 100% drycoded, but might work properly on first go.
Yeah, it also irritates the crap out of everyone in your party. If I found myself grouped with someone running such an obnoxious addon, I would immediately leave and add them to my ignore list. :|
local addon = CreateFrame("Frame")
local t = 0
local partypos = 0
local iconpos = 0
local units = {"player", "party1", "party2", "party3", "party4"}
addon:SetScript("OnUpdate", function(self, el)
if t > 1 then --update icons after a sec
local unit
if partypos == 5 then
partypos = 0
end
partypos = partypos + 1
if iconpos == 8 then
iconpos = 0
end
iconpos = iconpos + 1
SetRaidTarget(units[partypos], iconpos)
t = 0
end
t = t + el
end)
addon:Hide()
local function y()
addon:Show()
end
local function n()
addon:Hide()
for i = 1, 5 do
SetRaidTarget(units[i], 0)
end
end
local function toggle()
if addon:IsShown() then
n()
else y()
end
end
local cmds = setmetatable({
-- enable
on = y,
enable = y,
go = y,
["true"] = y,
y = y,
--disable
off = n,
disable = n,
stop = n,
["false"] = n,
n = n
}, {__index = toggle})
SlashCmdList["ICONHELL"] = function(msg)
local a = msg:match("(%S+)")
if a then
cmds[a:lower()]()
else
toggle()
end
end
SLASH_ICONHELL1 = "/iconhell"
SLASH_ICONHELL2 = "/ihell"
Does this work (I don't have a wow account so I can't test.
It'd be fun to tease friends/guildies with it for a while but yeah, this type of code should not be found "ready-packed" for those immature people who'd eventually spam it in every lfg group, pug raid, etc. >:(
Using this is the fastest way to get SetRaidTarget() protected. Not only is this a nuisance for the players in the group, it is a stress on Blizzard bandwidth.
Don't do it, educate other that would do it not to if they care about the freedom of addons to set the raid target.
I am pretty sure there would be riots if they protected it. There's already enough tainting issues with the dropdown without breaking setting raid icons.
http://www.youtube.com/watch?v=uYu9uHLCbG0
Question is, has anyone come across this addon? i'd love to get my hands on it for some good old fashioned experimentation! ;) for those who arent willing to watch the video, with the latest patch any party member can now assign targeting icons. the mod basically cycles through all icons above all party members heads. pointless? yes. useful? no. fun for a short time? most definitely!
so if anyone out there has this or knows where it's at, please for the love of god share it !
make an addon file stick in the code, then type /ihell .
quick warning, it's a 100% drycoded, but might work properly on first go.
found that out myself. :) Doesnt seem to work either way.
edit: no error messages, just doesnt apply icons.
Not that I have it, but some jerk wad kept using it in my 5man. :(
the one not bitching to stop :)
Does this work (I don't have a wow account so I can't test.
Thank god for infinite ignore addons.
It'd be fun to tease friends/guildies with it for a while but yeah, this type of code should not be found "ready-packed" for those immature people who'd eventually spam it in every lfg group, pug raid, etc. >:(
Don't do it, educate other that would do it not to if they care about the freedom of addons to set the raid target.
*edit* Which, honestly, might not be a bad idea.