Lore archive · Warcraft Wiki, 2023 dump
API GetPartyMember
Last wiki revision 2020-01-08
Returns 1 if the specified party member exists, nil otherwise. memberExists = GetPartyMember(index)
- index : Number - Which party member to query (1-4).
- memberExists: Flag - If the specified party member exists, returns 1, otherwise.
memberCount = 0 for groupindex = 1,MAX_PARTY_MEMBERS do if (GetPartyMember(groupindex)) then memberCount = memberCount + 1 end end
Will count the number of members in the party (not the best way to do that but it's a reasonable example).
Source
https://warcraft.wiki.gg/wiki/API_GetPartyMember · retrieved 2023-11-13 · CC BY-SA 4.0
Converted from wikitext with templates, tables and images removed, so some sentences may be missing values.
This archive predates WoW: Forever. For collected gameplay facts see the Forever database. Search the archive.