WoW:API GetNumPartyMembers
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