WoW:API SetRaidSubgroup: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 20: Line 20:
----
----
;''Description''
;''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.
:  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.
----
----

Revision as of 02:41, 12 May 2009

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.