WoW:API GetNumPartyMembers

Revision as of 03:41, 11 September 2006 by WoWWiki>Plynx

Template:WoW API

GetNumPartyMembers -Documentation by Sarf-

Returns number of party members.

numberOfPartyMembers = GetNumPartyMembers();


Arguments
None

Returns
(Number numberOfPartyMembers)
numberOfPartyMembers
The number of party members - from 0 to 4 (excluding the player).

Example
if ( GetNumPartyMembers() > 0 ) then CastSpellByName("Aura of Retribution"); end
Result

Casts Aura of Retribution if player is in a group.


Description
Returns number of party members.
See Also