WoW:API GetNumGroupMembers: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
(Created page with "{{wowapi}} Returns the total number of people in your raid or party group. members = GetNumGroupMembers(); == Arguments == groupType - (optional) the type of group. Default ...")
 
No edit summary
Line 12: Line 12:


== Notes ==
== Notes ==
* While in battlegrounds, this function returns the number of people in the battleground raid group. You may both be in a an autmatic type (battleground, arean, finder) raid group and in a normal raid or party group at the same time. Note: as of patch 5.0.4 you can no longer use {{api|GetRealNumRaidMembers}}() to retrieve the number of people in the latter.
* While in battlegrounds, this function returns the number of people in the battleground raid group. You may both be in a an automatic type (battleground, arena, finder) raid group and in a normal raid or party group at the same time. Note: as of patch 5.0.4 you can no longer use {{api|GetRealNumRaidMembers}}() to retrieve the number of people in the raid.


==See Also==
==See Also==

Revision as of 19:07, 17 October 2012

WoW API < GetNumGroupMembers

Returns the total number of people in your raid or party group.

members = GetNumGroupMembers();

Arguments

groupType (optional)
(partyCategoryType) the type of group.
  • LE_PARTY_CATEGORY_HOME - get the count for a local or manual group. (default)
  • LE_PARTY_CATEGORY_INSTANCE - get the count for a player's automatic group. (default in an instance)

Returns

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

Notes

  • While in battlegrounds, this function returns the number of people in the battleground raid group. You may both be in a an automatic type (battleground, arena, finder) raid group and in a normal raid or party group at the same time. Note: as of patch 5.0.4 you can no longer use GetRealNumRaidMembers() to retrieve the number of people in the raid.

See Also