Quantcast
WoWInterface - View Single Post - Sorting unitid in raid
View Single Post
01-04-16, 07:49 PM   #1
Taudier
A Fallenroot Satyr
AddOn Author - Click to view addons
Join Date: Apr 2008
Posts: 24
Sorting unitid in raid

Hello, i would like to sort the unitids of a raid frame ("SecureGroupHeaderTemplate") with a condition :

if UnitIsUnit(raidx, "player") then

put raidx first in the button list...

end

the probleme is, UnitIsUnit is not in the "RestrictedEnvironment.lua" so i cannot update my raid frame in combat.

plus, i don't want to have twice (player and raidx) in the raid frame.

any suggestion is welcome.
  Reply With Quote