WoW:API SetRaidSubgroup

From AddOn Studio
Revision as of 17:26, 31 May 2006 by WoWWiki>Jakobud
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
SetRaidSubgroup(index, subgroup) Documentation by Jakobud

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.

Template:WoW API