Sets a unit's role in the group or raid


See also Unit functions, Party functions, Raid functions.

Signature:

UnitSetRole("unit", "role")

Arguments:

  • unit - Unit to modify (string, unitID)
  • role - The unit's role string (string)
    • DAMAGER
    • HEALER
    • NONE
    • TANK