Haven't tested in-game, but syntax should work. Without a modifier (shift, ctrl or alt), it will run through the entire macro, with petpassive being set last.
With a modifier, it should stop running the macro after setting it to petdefensive.
Look, Lactose, we'd rather you didn't eradicate the whole human race.
- Sam & Max
I want to make a macro for the Twin Valkyrs. You can target the Light or Dark Essence through a macro. It's also possible to set a hotkey to 'interact with target'. After that, you can target either Light- or Darkbane through a macro.
What I'm not sure about, is calling the hotkey set to 'interact with target' from a macro. Can that be be done?
The end result would then be something like:
/target Light Essence
/[call hotkey for interaction with target]
/target Eydis Darkbane
Ignorance can be solved with a book. Stupidity requires a shotgun and a shovel.
I want to make a macro for the Twin Valkyrs. You can target the Light or Dark Essence through a macro. It's also possible to set a hotkey to 'interact with target'. After that, you can target either Light- or Darkbane through a macro.
What I'm not sure about, is calling the hotkey set to 'interact with target' from a macro. Can that be be done?
The end result would then be something like:
/target Light Essence
/[call hotkey for interaction with target]
/target Eydis Darkbane
I'm looking for the exact same thing. It would be splendid if you could call the "interact with target" hotkey from a macro!
I'm looking for the exact same thing. It would be splendid if you could call the "interact with target" hotkey from a macro!
This is not possible. It can only be bound to a keypress from the keybind menu.
So this kind of interaction will always need two keypresses to work. And also click-to-move has to be enabled. You can enable and disable click-to-move from a macro though.
Lately I have been working with some macros to lessen the number of keybinds I need to have for my hunter, and I am having a some problems with a certain functionality. I currently use the macro
for any situation where I need my pet to get to me quickly and stay there. However, I have been trying to somehow incorporate the ability to put my pet back on defensive with a second click of the macro, or even when pressing the macro with a modifier such as shift held down. However, I can't seem to find any way to do this, as things such as /petpassive [modifier:Shift] or /castsequence petpassive petdefensive do not work at all. Also, having both in the macro will always default to the last one obviously.
Basically what I am asking is if there is any way to add to the macro the ability for a second button press (with or without a modifier) to put my pet back to defensive. My coding skills are pretty terrible and even after some research I have failed, was wondering if anyone here with more knowledge knew of a workable solution. Any help would be greatly appreciated.
I have a couple macros that vary based on left clicking it or right clicking, you can add [button:1] and [button:2] to set the pet as passive or defensive. [button:3] is the scroll wheel if you wanted to add another option like aggressive. If you prefer to bind that to a key then you'd need to use a modifier key instead like [mod:alt] rather than [button:x].
Is there a way to have a macro link an item in chat? I am looking to buy a few specific items, and would like a macro that I can spam trade with, without having to re-link the items every time.
I used to have a macro that would allow me to target my main focus's(main assist for caster's) target (target assist). With a recent transfer of servers I lost all of my macros and have not been able to recreate this macro. I know there is something in the interface page, but I like many others am not going to remember every single button from that list . Any help would be greatly appreciated.
I wanted to set up a foundation or ruleset for casting helpful spells. The order I'd like is as follows, how would this look as a macro?....
Single Click
cast on SELF
Modifier + Single Click
if on a ROLLOVER TARGET, cast there
if no rollover target, then...
3) FOCUS
I wanted to stay away from using different keys, modifier buttons and targeting swtiches for the same spell, instead using priority macro algorithms to sort it out. I'm sure things will change and are more complex, but I wanted to start with this.
I've heard that it's fairly slow to click on targets and then cast them, so I left TARGET out of this set. Maybe others have a good way of working it in?
I wanted to set up a foundation or ruleset for casting helpful spells. The order I'd like is as follows, how would this look as a macro?....
Single Click
cast on SELF
Modifier + Single Click
if on a ROLLOVER TARGET, cast there
if no rollover target, then...
3) FOCUS
I wanted to stay away from using different keys, modifier buttons and targeting swtiches for the same spell, instead using priority macro algorithms to sort it out. I'm sure things will change and are more complex, but I wanted to start with this.
I've heard that it's fairly slow to click on targets and then cast them, so I left TARGET out of this set. Maybe others have a good way of working it in?
My base helpful spell macro as best I can recall from memory:
I'm not 100% sure on the syntax but I'm sure you can get the idea. The macros prioritize by whichever parameter is fulfilled first. This macro should work using this priority:
Mouseover
Friendly Target
Enemy Target's Target if Friendly
Whatever happens if you have no target (the empty brackets, which for me is self cast)
I think with the new patch you can replace "target=" with "@", but I haven't gotten around to playing with it.
For a macro like you asked for I'm pretty sure this would work:
Basically if modifier + mouseover + friendly unit, cast.
If modifier and no mouseover, focus
If no modifier, cast on self.
Unless of course I misunderstood what you were asking, since you did ask for a modifier in your request. Personally I enjoy the first macro I posted since I can have multiple buttons bound and just mouseover a unitframe and tap a hotkey to get whatever spell I have, and if I'm searching my inventory for something and have a player targetted it heals them, or if I have the mob targetted I can just heal whomever he's hitting.
I'll post up my actual macro when I get a chance, and test out the one I posted for you as well.
Yea that is interesting. This is what I came up with, and the focus part was not working. Let me know if yours works, and if you can work focus into it.
So with one mouse click it would cast on mouseover if hovering there, otherwise it would cast on the focus. Shift + click would cast on myself. However, the focus part wasn't working. Do focus targets NEED modifiers - someone seemed to thing so?
I like the idea of also working in targettarget as you said.
So Shift will target focus, while Ctrl will cast on myself. Otherwise it will probably hit my enemy target, and other party members on mouseover. Modifiers still not working though
I think case sensitive was part of it. What is weird now is that the focus action works on NPC characters when I test it in town, but it will not work when I am in a group trying to cast on players...?
PS - Does anyone have example macros or advice for casting different rank healing spells? Two modifiers are already used up in the above macros - and I think everything above is essential to include. I have 5 buttons on my mouse, each casting a different type of heal spell. So I guess you could get ONE different rank in via mod:alt and just use @mouseover to hit whoever you want.
While it's possible to cast more or less your entire spellbook using just one macro with a ton of modifiers, is there really a point? I usually just have one bar with normal keys, one bar with shift+keys, ctrl+keys, alt+keys etc. Then put the different spells/macros on different bars. And yeah, apart from a few very narrow examples downranking is more or less worthless these days.