WoW:API GetNumPartyMembers

Revision as of 14:44, 27 August 2005 by WoWWiki>Inglais
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

Template:WoW API