Returns information about a member of the player's raid


See also Raid functions.

Signature:

name, rank, subgroup, level, class, fileName, zone, online, isDead, role, isML = GetRaidRosterInfo(index)

Arguments:

  • index - Index of the raid member (between 1 and GetNumGroupMembers()); matches the numeric part of the unit's raid unitID, e.g. 21 for raid21. When used in non-raid groups, it does NOT match the party identifier, e.g. 'party2' (number)

Returns:

  • name - Name of the raid member (string)

  • rank - Rank of the member in the raid (number)

    • 0 - Raid member
    • 1 - Raid Assistant
    • 2 - Raid Leader

  • subgroup - Index of the raid subgroup to which the member belongs (between 1 and MAX_RAID_GROUPS) (number)

  • level - Character level of the member (number)

  • class - Localized name of the member's class (string)

  • fileName - A non-localized token representing the member's class (string)

  • zone - Name of the zone in which the member is currently located (string)

  • online - 1 if the member is currently online; otherwise nil (1nil)

  • isDead - 1 if the member is currently dead; otherwise nil (1nil)

  • role - Group role assigned to the member (string)

    • MAINASSIST
    • MAINTANK

  • isML - 1 if the member is the master looter; otherwise nil (1nil)