View Single Post
08-01-10, 05:27 AM   #5
ravagernl
Proceritate Corporis
Premium Member
AddOn Author - Click to view addons
Join Date: Feb 2006
Posts: 1,176
See this page for some usefull info about lua texts: http://www.wowace.com/addons/pitbull4/pages/lua-texts/

This, along with PARTY_MEMBERS_CHANGED as event might be all that is needed.
Code:
if not UnitInRaid("player") then return
local myname = UnitName('player')
for i = 1 , GetNumRaidMembers() do
	local name = GetRaidRosterInfo(i)
	if ( name == myname ) then
		return subgroup
	end
end

Last edited by ravagernl : 08-01-10 at 05:58 AM.
  Reply With Quote