>wowhelm_
~/forever/addon-api/function/UnitSetRole

UnitSetRole

documented function · UnitRole
UnitSetRole(unit, roleStr?) : result
──ARGUMENTS
unit
UnitToken
roleStr
cstring, optional
──RETURNS
result
bool
──DETAILS
Has Restrictions
true
Secret Arguments
AllowedWhenUntainted
──VERSION HISTORY

Present since at least 1.60.1.70707, the first build we track.