Is there a way to target a person in Group 8 in a raid when there are no individuals in some of the other groups (like say 3 thru 7, or 5 thru 7)
Basically I want to be able to manually put players in group 8 while in a raid, and then fire a macro that does a command to each of them specifically by slot or party but not by their names.
I just noticed that making a 1 person raid and placing myself in Group8 slot 36, I am only target-able as raid1, which tells me that doing a
/tar raid40
command
/tar raid39
command
etc
wouldn't work because they technically wouldn't be 36-40 unless I had a raid of 40 actual people.
Through normal macro commands, no.
There is probably something that could be done with api's but the questions become can you fit that code into 255 characters or less and if you're looking to do this in combat, can that code be called in combat?
GetRaidRosterInfo is probably the api you would need
http://wowwiki.wikia.com/wiki/API_GetRaidRosterInfo
But I'm not sure about turning that group=8 into a target
An example that should run (haven't tried it) from the chat line
/run for i=1,40 do local n,_,g=GetRaidRosterInfo(i) if n~=nil then print(n..", raidindex="..i..", group="..g) end end
It just spits out info on who is in the raid, the raid index and group #.
There is probably something that could be done with api's but the questions become can you fit that code into 255 characters or less and if you're looking to do this in combat, can that code be called in combat?
GetRaidRosterInfo is probably the api you would need
http://wowwiki.wikia.com/wiki/API_GetRaidRosterInfo
But I'm not sure about turning that group=8 into a target
An example that should run (haven't tried it) from the chat line
/run for i=1,40 do local n,_,g=GetRaidRosterInfo(i) if n~=nil then print(n..", raidindex="..i..", group="..g) end end
It just spits out info on who is in the raid, the raid index and group #.
1 Like
wow , very amazing
can you help me plus content : show Class