WoW API: SetRaidSubgroup

Revision as of 16:42, 4 December 2007 by WoWWiki>Pcj

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
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.