Grid2

Grid2

9M Downloads

Party order

gonstr opened this issue ยท 6 comments

commented

Hey. Great Addon. I love everything about it and I use it for raids as well as for partying and doing arena.

In Arena, I use keybinds to target myself and party members. I have set keybinds for target self and target party member 1 and party member 2:

grid

Now, the problem is that there is no layout in Grid2 that matches this ordering from what I understand, so when you join Arena, the group is pretty much scrambled, or if you have chosen to layout by class, role, etc it's in that order. In any case, it becomes very hard to know which keybind will target which player.

Is there a way to order the boxes when I'm in a party or in arena so that it's always like this:

[player][party member 1][party member 2][party member 3][party member 4]

Where the ordering matches the keybinds for target self, party member 1, party member 2, etc.

Thanks,
Tom

commented

Use any "By Group" layout, and uncheck the "Sort units by Name" option in General/Layouts.

commented

Right. So the "By Group" works exactly like what I want.

I see the problem now. The problem is specific to arena. When you join arena as a party, it makes the group in to a raid for some reason, scrambling the group order.

The keybinds still work though, with target self, party member 1 and 2, even though that's not how the group necessarily is ordered in the raid.

Is there anyway to make Grid2 still display it "By Group" in arena, i.e with the player always first, and then the party members in order, even though the game turns the group in to a raid in arena?

This reddit post described the same problem: https://www.reddit.com/r/WowUI/comments/vs6muw/help_grid2_layout_player_always_on_top_option/

The solution posted as first answer does not seem to work though? Can you use variables like that for player, party1 in the custom list?

commented

Yes, in a custom layout you can setup a list with: player, part1, party2, units etc.
The player unit is going to work because always exists even in raid. what i dont remember is if the game creates the party1, party2, etc units while in arena.
You can enter an arena and type into chat:
/script print( UnitExists('party1'))
if this little code displays:
true
then a custom layout should work.

commented

I see the issue. That is a namelist, a list of player names, you have to create a custom header.

  1. Click on the little Tab with the "Plus" sign near players(1) Tab, to create a new header.
  2. A "Create new Header" page will be displayed.
  3. In the New Header Type, select "Custom" instead of "Players"
  4. Click Create
  5. Type the units in the "Units List" Edit Box.
  6. Goto the players(1) header, scroll down, and click the Delete button, to delete this header.
commented

Your script works and prints true both inside and outside arena for both player, party1, etc but when I create a layout like this and switch to it, the grid just disapears and shows nothing:

custom

Can't get this to work even outside arena in a normal group. What am I doing wrong?

commented

That worked, thanks :)

I do have a suggestion for improvement though. If you choose any "By Group" layout, it should do this ordering inside arena, similar to how it does for parties outside arena.

Nice that it's possible to create this through custom header though. You can close this issue if you want.