Thread Tools Display Modes
02-18-06, 01:17 PM   #1
Rasher
A Murloc Raider
Join Date: Dec 2005
Posts: 4
Doing something with every <class> in the raid

This will be my second addon for wow and I'm currently trying to let every <class> in the raid do something.

Is there a way to do it?
  Reply With Quote
02-28-06, 10:28 AM   #2
JoshBorke
A Chromatic Dragonspawn
 
JoshBorke's Avatar
AddOn Author - Click to view addons
Join Date: Feb 2006
Posts: 185
for i = 1,GetNumRaidMembers() do
local class = UnitClass("raid"..i)
-- do stuff
end

would something like that work?
  Reply With Quote

WoWInterface » Developer Discussions » Lua/XML Help » Doing something with every <class> in the raid


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off