Originally Posted by Xrystal
However, I always thought the player was party1, but I could be mistaken.
|
AFAIK,
player is never in
partyN, but
player will be in
raidN.
partyN is 1-4. If you are trying to find out how many total units are in your party, including the player, use GetNumGroupMembers() + 1, or just GetNumGroupMembers() by itself if you are in a raid.
Once you determine you are in a party and use GNGM() + 1, use UnitIsUnit(unit, "player") to return the actual unit.