WoW:API GetNumRaidMembers: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
No edit summary
(bp, +real)
Line 1: Line 1:
{{wowapi}}
{{wowapi}}
{{Stub/API}}
Returns the total number of people in your raid group.
GetNumRaidMembers()
members = GetNumRaidMembers();


Returns the total number of people in raid, including the player.
== Returns ==
; members : Number - number of players in your raid group, including yourself; or 0 if you are not in a raid group.


Returns 0 if not in a raid.
== Notes ==
 
* While in battlegrounds, this function returns the number of people in the battleground raid group. You may both be in a battleground raid group and in a normal raid group at the same time; you can use {{api|GetRealNumRaidMembers}}() to retrieve the number of people in the latter.
 
This is a good way to help determine what chat channel to send messages to.


==See Also==
==See Also==
* [[API GetNumPartyMembers|GetNumPartyMembers]]
* {{api|GetNumPartyMembers}}
* {{api|GetRealNumRaidMembers}}

Revision as of 14:14, 20 June 2010

WoW API < GetNumRaidMembers

Returns the total number of people in your raid group.

members = GetNumRaidMembers();

Returns

members
Number - number of players in your raid group, including yourself; or 0 if you are not in a raid group.

Notes

  • While in battlegrounds, this function returns the number of people in the battleground raid group. You may both be in a battleground raid group and in a normal raid group at the same time; you can use GetRealNumRaidMembers() to retrieve the number of people in the latter.

See Also