WoW:API SetRaidSubgroup: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
No edit summary
 
m (Move page script moved page API SetRaidSubgroup to API SetRaidSubgroup without leaving a redirect)
 
(3 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<center>'''SetRaidSubgroup(index, subgroup)''' ''Documentation by Jakobud''</center>
{{wowapi}}


Move a raid member from his current subgroup into a different (non-full) subgroup.
Move a raid member from his current subgroup into a different (non-full) subgroup.
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.
----
----
{{WoW API}}

Latest revision as of 04:47, 15 August 2023

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.