WoWInterface

WoWInterface (https://www.wowinterface.com/forums/index.php)
-   Lua/XML Help (https://www.wowinterface.com/forums/forumdisplay.php?f=16)
-   -   Raid commands (https://www.wowinterface.com/forums/showthread.php?t=454)

Apin 03-18-05 06:59 AM

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

Orolain 05-30-05 12:18 PM

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.

Beladona 05-30-05 12:31 PM

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...


All times are GMT -6. The time now is 04:55 AM.

vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI