WoW:API GetNumPartyMembers

Revision as of 17:03, 17 December 2004 by WoWWiki>Sarf
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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