WoW:API GetNumRaidMembers: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
(bp, +real)
No edit summary
Line 1: Line 1:
{{wowapi}}
{{wowapi}}
{{removedapi|5.0.4|Instead use [[API GetNumGroupMembers|GetNumGroupMembers]] or [[API GetNumSubgroupMembers|GetNumSubgroupMembers]]}}
Returns the total number of people in your raid group.
Returns the total number of people in your raid group.
  members = GetNumRaidMembers();
  members = GetNumRaidMembers();
Line 10: Line 12:


==See Also==
==See Also==
* {{api|GetNumPartyMembers}}
* {{api|GetNumGroupMembers}}
* {{api|GetRealNumRaidMembers}}
* {{api|GetNumSubgroupMembers}}
 
* {{api|GetNumPartyMembers}} (Removed 5.0.4)
* {{api|GetRealNumRaidMembers}} (Removed 5.0.4)

Revision as of 17:57, 25 September 2012

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