Macro for @party1 and targetfriend out of arena?

Hello, I am trying unsuccessfully to create a macro to target the members of my party 1 and 2 within the arena, but since they are not in the arena, they target the closest ally… I managed to make it work halfway… I need help

#showtooltip
/target [@party1,help, nodead ,exists]
/stopmacro [@party1, help, nodead. exists]
/targetfriend

So the problem I see with this, is that in any type of group content where you’re in a party or raid, it will always go back to the party1 / 2, since party macros aren’t explicitly arena based.

If you don’t mind that aspect, I might be able to get it working in non-party combat.

I think you just have the order wrong.

Try

/targetfriend
/target [@party1,exists,nodead]

Target friend will be nullified if you’re in party, because it will be followed by the target party1, and if you aren’t in a party, there will be no party1 to target, so it will only targetfriend.

Try this. or replace the period with a comma, that’ll probably work too.

/target [@party1, help, nodead, exists]
/stopmacro [exists]
/targetfriend

In case it helps, there’s supposedly a pvpcombat macro conditional.

Is there? Never knew about that one.

only reason his macro isn’t working is because there’s a period instead of a comma in the stopmacro options

Not sure if it works or not, but it’s listed on wowpedia/fandom

His macro in the OP also targets party1 outside of arenas.

Since the exist conditional is not met, and the stopmacro cannot trigger due to incorrect syntax, it will continue on to /targetfriend

Yeah, but I think he wants it to target party1 in arenas… and closest outside of arenas.

Even after they fix it, it’ll still target party1 outside of arenas.

Or maybe I misunderstood what they’re trying to do.

1 Like

idk, I don’t fully understand what they want out of the macro

What they want isn’t actually possible to my knowledge, unless there’s specifically an arena condition. Even arena1 / 2 / 3 still triggers in BGs as enemy party 1 / 2 / 3 essentially.

That’s why I suggested pvpcombat as a possible conditional.

But I don’t know if it works or not.

The pvpcombat conditional is as close as it gets. The condition will be satisfied whenever pvp talents are active and usable.

it works.

Even if it did, it wouldn’t solve the issue unless he was straight up looking to use the target friend in PvE.

I’m not sure what he’s trying to do.

But if he wants to make stuff specific to arenas… he probably combine the pvpcombat and party conditionals.

1 Like

If he adjusts the party1 targeting to this, it will only be active when pvp talents are usable and he is in a group. So unless he’s grouping in warmode, but really theres only so much you can refine this.
/target [@party1, help, nodead, exists, pvpcombat]

The thing is, in arena the pvpcombat condition will be true too, same for in bgs.

My concern was bgs moreso, though I feel like we care more about the topic than OP lol.

he can then refine it further with the group:party conditional.

He can use nogroup:raid conditional to exclude bgs.