Reply
Thread Tools Display Modes
Unread 03-18-05, 06:59 AM   #1
Apin
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
Apin is offline   Reply With Quote
Unread 05-30-05, 12:18 PM   #2
Orolain
A Murloc Raider
AddOn Author - Click to view addons
Join Date: May 2005
Posts: 5
http://www.wowwiki.com/World_of_Warc...Raid_Functions

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.
Orolain is offline   Reply With Quote
Unread 05-30-05, 12:31 PM   #3
Beladona
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...
Beladona is offline   Reply With Quote
Reply

Go BackWoWInterface » 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