WoW:API GetNumPartyMembers: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
No edit summary
 
mNo edit summary
Line 36: Line 36:
----
----
{{Template:WoW API}}
{{Template:WoW API}}
[[Category:API Functions|GetNumPartyMembers]]
[[Category:API Group Functions|GetNumPartyMembers]]

Revision as of 14:44, 27 August 2005

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