View Single Post
Old 12-03-12, 07:07 PM   #2
Vrul
A Chromatic Dragonspawn
 
Vrul's Avatar
AddOn Author - Click to view addons
Join Date: Nov 2007
Posts: 190
Code:
m={5,1,1,1,8,1,1,5,3,1,2}
for i=0,GetNumGroupMembers() do
    u=i>0 and 'party'..i or 'player'
    _,_,c=UnitClass(u)
    SetRaidTarget(u,m[c])
end
Table 'm' is the markID listed in classID order.
Vrul is offline   Reply With Quote