Dominos icon indicating copy to clipboard operation
Dominos copied to clipboard

Mouseover action bar paging

Open Goranaws opened this issue 7 years ago • 12 comments

basically, if my mouse isn't over a unit show one bar, if it is over a unit then show a different one.

Been trying to work the code for this myself, but I don't understand your BarStates code well enough.

Goranaws avatar Mar 08 '18 18:03 Goranaws

Do you mean a specific unit or just any unit? For the latter [@mouseover,exists] is the macro conditional.

Tuller avatar Mar 09 '18 23:03 Tuller

That's what I'm after, though I want it to work with bar paging, for key bind reasons.

Currently using some complex macros to achieve my goal, but it's annoying to rearrange by bars. Have to rewrite macros, to make any changes.

Goranaws avatar Mar 09 '18 23:03 Goranaws

If I mouse over a unit, it'd be nice if I could page the bars to do harmful or helpful spells, based on what I'm mousing over.

Goranaws avatar Mar 09 '18 23:03 Goranaws

addState('target', 'mouseover', '[@mouseover,exists]') is what you want I think

Tuller avatar Mar 10 '18 00:03 Tuller

I'll give that a try when I get home. Thank you.

Goranaws avatar Mar 10 '18 00:03 Goranaws

That worked. Thank you much.

Goranaws avatar Mar 11 '18 13:03 Goranaws

I was able to switch it to [@mouseover, harm, nodead]. This allows for a wider range of flexibility for me, as I can add a few other variations to bar states, and then modify my macros to help ensure thar I'm always attacking something in a raid. The visual clutter in raids makes it hard for me to weed out specific targets to attack, so the combination of clever macros and bar states, makes up for it.

Goranaws avatar Mar 13 '18 12:03 Goranaws

At some point I need to make custom states a thing. Quite a while ago I worked on making a bar addon where you could change your entire layout based on a macro conditional but I never got around to finishing it.

Tuller avatar Mar 14 '18 12:03 Tuller

Well, im not sure how to make layouts work, but I've been trying to envinsion how custom macro bar states would look.. everything I come up with feels overly complex.

The one idea I might explore is having a menu page that has an editbar to type in a macro, then a dropdown menu to select show/hide or to select which bar to page to. Thered also be a button somewhere that says "add new" so users could mkae as many as they want.

Goranaws avatar Mar 14 '18 12:03 Goranaws

And the order in which they create macro conditionals, would matter, for macro priorites. Could also allow the conditionals to be rearrange for that purpose

Goranaws avatar Mar 14 '18 12:03 Goranaws

I believe a set of presets with an option to type in a macro is what Bartender does. I think I'd probably just try and make an editor interface for barStates.lua.

Tuller avatar Mar 15 '18 02:03 Tuller

I'll look into bartender's method, then try to create something for myself. If what I come up with seems good, I will post it for you to look at.

Just to mention, I believe most of my extras for dominos are stable, so I don't really plan to post any updates or changes to them, unless I get requests, or issues. Just going to make my own stuff for me for a while.

Goranaws avatar Mar 19 '18 14:03 Goranaws