Swaps two raid members between subgroups in the raid. Only has effect if the player is the raid leader or a raid assistant. To move a member into a non-full subgroup without switching places with another member, see SetRaidSubgroup()
.
See also Raid functions.
Signature:
SwapRaidSubgroup(index1,
index2)
Arguments:
index1
- Index of the first raid member (between 1 andGetNumRaidMembers()
); matches the numeric part of the unit'sraid
unitID
, e.g. 21 forraid21
(number
)index2
- Index of the other raid member (number
)