Page 3 of 3

Posted: Sun Nov 07, 2004 7:32 pm
by Neolesh
This is what I'll be testing tonight.. let me know if something looks wrong

Code: Select all

/for r ${Raid.Members} downto 0
  /if (${Raid.Member[${r}].Spawn.ID} != NULL && ${Raid.Member[${r}].Spawn.Type.NotEqual[Corpse]}) {
     /target pc ${Raid.Member[${r}]}
     /call ClassCheck
  }
  
/next r

Posted: Sun Nov 07, 2004 8:29 pm
by Cr4zyb4rd
target by id, there's still a chance of you getting Joe instead of Joebob

Posted: Sun Nov 07, 2004 9:00 pm
by A_Druid_00
Cr4zyb4rd wrote:target by id, there's still a chance of you getting Joe instead of Joebob
Basically, instead of:

Code: Select all

     /target pc ${Raid.Member[${r}]} 
use:

Code: Select all

     /target id ${Raid.Member[${r}]} 
It's rare when you run into that issue, but it does happen. Using ID eliminates that variable from the equation completely

Posted: Sun Nov 07, 2004 9:35 pm
by Cr4zyb4rd
Yes, except that the code you posted doesn't return an ID :P

Posted: Sun Nov 07, 2004 11:09 pm
by Neolesh
What I'm testing tonight is ...

Code: Select all

/for r ${Raid.Members} downto 0 
  /if (${Raid.Member[${r}].Spawn.ID} != NULL && ${Raid.Member[${r}].Spawn.Type.NotEqual[Corpse]}) { 
     /target ID ${Raid.Member[${r}].ID} 
     /call ClassCheck 
  } 
  
/next r
Thanks for the sugestions on this.

Edit: Tested for several hours and didn't have any targeting problems. going to add this to page 1

Re: Raid Healer v1.3 - Heal your raid (Updated: 11-8-04)

Posted: Fri Jan 02, 2026 2:23 pm
by xyilla