Assigns a group role to a member of the player's party or raid
See also Party functions, Raid functions.
Signature:
SetPartyAssignment("assignment",
"unit")
or
SetPartyAssignment("assignment",
"name"
[,
exactMatch])
Arguments:
assignment
- A group role to assign to the unit (string
)MAINASSIST
- Assign the main assist roleMAINTANK
- Assign the main tank role
unit
- A unit in the player's party or raid (string
, unitID)name
- Name of a unit in the player's party or raid (string
)exactMatch
- True to check only units whose name exactly matches thename
given; false to allow partial matches (boolean
)