WoW:API GetNumPartyMembers: Difference between revisions
Jump to navigation
Jump to search
GetNumPartyMembers -Documentation by Sarf-
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
{{Template:WoW API}}<center>'''GetNumPartyMembers''' ''-Documentation by Sarf-''</center> | |||
Returns number of party members. | Returns number of party members. | ||
Line 35: | Line 35: | ||
---- | ---- | ||
Revision as of 03:41, 11 September 2006
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