WoW:API GetNumPartyMembers

From AddOn Studio
Revision as of 15:37, 4 January 2006 by WoWWiki>Anticrash
Jump to navigation Jump to search
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