Oh the beauty of it all...
I use RDX for my unit frames, I specifically use a window based off my raid groups heal assignments that I created, go fig right?
Code:
local macrofunc(unit)
x = x + 1; -- Incriment our counter since this tells us which macro to edit.
VFL.print(unit:GetName().." "..x); x = x + 1; return 1; end
newMacro = "/target "..unit:GetName().."\n/cast [modifier:alt]Flash of Light,[modifier:shift]Holy Light,[modifier:ctrl]Blessing of Protection,Flash of Light";
EditMacro(GetMacroIndexByName("H"..x), "H"..x, 0, newMacro, 1, 1);
if x > 5 then
return nil; -- returning nil causes this to stop.
end
return true;
end
x = 0; -- Reset to 0
RDX.ForeachInObject("Heal_Ass_UI:MyAssignmentSort", macrofunc)
Teh macro it's self is untested and needs polish, however this should let me accomplish some pretty nice things... all it depends on is having macro's pre-written for H1-H5
Ideally I'll find a way to hook the underlying set for updates and execute this when it updates (assuming we are out of combat)... that way as people join and leave it updates. Worst case I set this into a ui mod with a /updatemacro's command and hit that when I need to update.
Connect With Us