Page 1 of 1

Is there a way to target Group Member 1 ?

Posted: Thu Jan 23, 2014 3:18 pm
by Sonar
I made a stupid mistake and hope there is an easy fix. I used one of my characters name as a root name for other characters and it is causing targeting issues when I try to hot key buffs and targeting. I want to target my toon named Sonar but the hot key seems to pick up which ever character that uses his root name closest. Example: /target sonar will get Sonarmage or Sonarstab or Sonarsham. Sonar is always #1 group member for group one, is there a way to do a '/target groupmember 1' command or any other way to fix my mistake?

Thanks

Re: Is there a way to target Group Member 1 ?

Posted: Thu Jan 23, 2014 5:08 pm
by Feldorn
I think you can macro a keypress F1.

Also, if you're playing the character, /target id ${Me.ID} should target whoever you are playing.

Re: Is there a way to target Group Member 1 ?

Posted: Thu Jan 23, 2014 5:34 pm
by Grey
/declare ctr int local 0
/for ctr 1 to ${Group.Members} | 0 to include self, 1 to not include self

${Group.Member[${ctr}].Name}

${Group.Member[${ctr}].ID}

Re: Is there a way to target Group Member 1 ?

Posted: Thu Jan 23, 2014 6:00 pm
by Grey
Had to get some coffee as I woke up, posted a response and knew it didnt make sense.
Was assuming you were looping through the entire group for some reason.

/target id ${spawn[pc "sonar"].ID}

That should be close to what you want.

Re: Is there a way to target Group Member 1 ?

Posted: Sun Jan 26, 2014 10:58 am
by Shin Noir
If the player is a specific class, e.g. while you share "Foo" prefix on all characters, there is only one "Foo" base name beastlord,
FooBst = Beastlord
FooBar = Barbarian
FooBrd = Bard
you can use:
/target id ${Spawn[bst Foo].ID}