Thread Tools Display Modes
03-18-05, 06:59 AM   #1
A Defias Bandit
Join Date: Mar 2005
Posts: 2
Raid commands

I am working on a lil mod for targeting players and telling the rest.

I want to know a few commands to optimise it.

The ones i want:
- To find out if a player is in a raid group?
- To find out what number the subgroup is in the raid group

thnx, grtz Apin Nika - Avengers of Azeroth
  Reply With Quote
05-30-05, 12:18 PM   #2
A Murloc Raider
AddOn Author - Click to view addons
Join Date: May 2005
Posts: 5

local name, rank, subgroup, level, class, fileName, zone, online = GetRaidRosterInfo(Raid_Member_ID_Number);

Will return the subgroup number the player is in.

There's a UnitInParty(UnitID) function, but I don't know if it works for raid members or just your subgroup.
  Reply With Quote
05-30-05, 12:31 PM   #3
A Molten Giant
Beladona's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2005
Posts: 539
I think he means to obtain that info about other players in a raid, when you are not in the raid yourself. I believe the raid functions you described have to be sued when you are a part of that raid. I could be wrong, but I don't think that info is available otherwise -- the reasoning being that having info of every raid broudcast would signifigantly slow things down. Imagine 5 raids in one area, each full of people, and all raid broadcasting membership info...
  Reply With Quote

WoWInterface » Developer Discussions » Lua/XML Help » Raid commands

Thread Tools
Display Modes

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