WoW API: SetRaidSubgroup

From AddOn Studio
Revision as of 04:47, 15 August 2023 by Move page script (talk | contribs) (Move page script moved page API SetRaidSubgroup to API SetRaidSubgroup without leaving a redirect)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

WoW API < SetRaidSubgroup

Move a raid member from his current subgroup into a different (non-full) subgroup.

SetRaidSubgroup(index, subgroup);

Arguments
index = ID of raidmember (1 ... MAX_RAID_MEMBERS)
subgroup = raid subgroup number (1 ... 8)

Example

Move raid member with ID=25 into group 3

SetRaidSubgroup(25, 3);

Description
(As of 3.1, this no longer accurate. Raid indices now reorder themselves every time the raid layout changes.)
Regarding the corrispondance of raid indecies to players. Let C be the list of players in a raid ordered by their raid index. It appears that after any series of changes is made to the raid, at the end all players from C still in the raid will retain their original ordering (even if they left and rejoined the raid), with new members existing at any index 0<i<=40.