Need help with macros
I'm trying to set up a macro that will target the next teammate or pet and fire off sonic haven. I know I have to use target_custom_next and powerexec but I'm not sure how to write it. Please help. Here's what I tried but doesn't seem to work "/macro haven "target_custom_next"friend"$$powerexec_sonic_h aven or powerexec_name"sonic haven". I tried a couple of other combinations too but none of them seemed to work.
P.S. That space in haven was not there when I typed this. Got it to work here's what I did: /macro haven "target_custom_next "friend"$$powexec_name sonic haven" Oh well, thought it worked until I got a mm on the team and had him call pets. The syntax is right but I don't think you can string the 2 commands together. For now the targeting macro will just have to take up an extra tray slot. If anyone knows how to make this work please help. |
/macro Haven "target_custom_next friend$$powexec_name Sonic Haven"
throw in a notmypet if you want to exclude your pets, after friend.
Orc&Pie No.53230 There is an orc, and somehow, he got a pie. And you are hungry.
www.repeat-offenders.net
Negaduck: I see you found the crumb. I knew you'd never notice the huge flag.
Thank you, but I tried that too. Here's the easiest one to write that I tried:
/macro haven "target_friend_next$$powexec_name sonic haven"
The problem is, it only does the targeting then it drops the cast power command. I also tried:
/macro haven "powexec_name sonic haven$$target_friend_next"
Which cast the power but wouldn't switch targets. From what I can tell it is impossible to string the two commands together. I had some friends who are much more experienced with macros and bindings than I am trying to help yesterday and they came to the same conclusion (we tried making it into a bind too). If anyone out there knows of a way to make this work I would appreciate it. For now, I'm just settling for having the targeting macro take up another tray slot. It's an acceptable compromise but it isn't what I actually wanted to do.
Btw, I used the targeting command on my dark/kin corr yesterday. It was an invaluable tool when we went after the MoBSF. Not only did I get it but it was the first time I ever even attempted the SF let alone a master run. =)
I'm not sure how this reacts with a macro, but the following DOES work on a bind:
/bind KEY "target_friend_next$$powexecname Speed Boost"
Keep in mind you have to give the power a moment to recharge, but if you press it early the power will queue and go off when recharged.
Also, like Rajani mentioned, you can put filters in by changing the target command a little, for example:
/bind KEY "+$$target_custom_next friend alive notmypet teammate$$powexecname Speed Boost"
Edit:
I just tested, and the macro version of the same command string does not work correctly at all. I guess you are better off binding it to a key instead. Personally, on my buffing toons, I use the 1234 keys for various buffs.
I'm not sure how this reacts with a macro, but the following DOES work on a bind:
/bind KEY "target_friend_next$$powexecname Speed Boost" Keep in mind you have to give the power a moment to recharge, but if you press it early the power will queue and go off when recharged. Also, like Rajani mentioned, you can put filters in by changing the target command a little, for example: /bind KEY "+$$target_custom_next friend alive notmypet teammate$$powexecname Speed Boost" Edit: I just tested, and the macro version of the same command string does not work correctly at all. I guess you are better off binding it to a key instead. Personally, on my buffing toons, I use the 1234 keys for various buffs. |
Orc&Pie No.53230 There is an orc, and somehow, he got a pie. And you are hungry.
www.repeat-offenders.net
Negaduck: I see you found the crumb. I knew you'd never notice the huge flag.
I'm not sure how this reacts with a macro, but the following DOES work on a bind:
/bind KEY "target_friend_next$$powexecname Speed Boost" Keep in mind you have to give the power a moment to recharge, but if you press it early the power will queue and go off when recharged. Also, like Rajani mentioned, you can put filters in by changing the target command a little, for example: /bind KEY "+$$target_custom_next friend alive notmypet teammate$$powexecname Speed Boost" Edit: I just tested, and the macro version of the same command string does not work correctly at all. I guess you are better off binding it to a key instead. Personally, on my buffing toons, I use the 1234 keys for various buffs. |
Did you try this with more than one person on your team? I made almost the exact same bind (the only difference being I used powexec_name instead of powexecname) and it would only work if I only had one target. If I tried to use it with more than one the power would not fire but it still worked for targeting. I also tried reversing the order of the 2 commands and it did just the opposite.
|
Ok, I'll try it as a bind the next time I'm online. I did try my original one as both a bind and a macro though and still had that problem.
I tried your bind and it didn't work consistently. On rare occasions it would fire off the power if I clicked fast enough but I need it to work every time. I also tried making the targeting command longer thinking that the problem might be in the computer not reading it fast enough so with the targeting command longer and the power command shorter it might compensate. Here's what I tried but I got the same results:
/bind NUMPAD1 "target_friend_next$$powexecname Speed Boost"
and:
/bind NUMPAD1 "target_custom_next friend$$powexecname Speed Boost"
You could also try a rotating bind if the combo-bind isn't working reliably for you.
Orc&Pie No.53230 There is an orc, and somehow, he got a pie. And you are hungry.
www.repeat-offenders.net
Negaduck: I see you found the crumb. I knew you'd never notice the huge flag.
On some of my combination binds , where a power execute is also in the macro, I find it drops the execute part. What I have found is that if you go back in and edit the macro after that, adding the execute part back in, it works.
If you've tried that, then not sure what to tell you.
I tried your bind and it didn't work consistently. On rare occasions it would fire off the power if I clicked fast enough but I need it to work every time.
|
- I press the button
- The next ally is targeted
- Speed Boost goes off (or queued if the power is not fully recharged yet, or if the target is out of range. As soon as the power is recharged or you become in range of the target, the power finally fires)
- I press the button again
- The next ally is targeted
- Speed Boost goes off (etc etc)
I don't know why it's not working consistently for you, but the only other thing I can think of as a workaround for you is to bind another key (like numpad0) to target_next_friend, then just use numpad1, numpad2, numpad3, etc for the various buffs you might have for each toon. That way you'll be able to target the ally separately and buff him with anything you have before moving to the next person. You can even bind the fortune power to the numpad somewhere for the convenience of not having to keep it on your powertray anywhere.
don't know if this is what you want or if its even functional for your situation, but i use the following macro(s) for team buffing...
/bind (modifier+)numpad# "powexec_name Name of Power$$ team_select #"
[modifier = lctrl / lshift / lalt]
first # is 1-6 (i'm rarely in teams larger then that, due to static grouping)
second # matches the numpad for ease of usage.
I mainly use this for Recall Friend and Mystic Fortune but it does work for many buffs, just double hit the key and it selects and fires the power. the main advantage is no need to worry about team range with target_next_friend.
The /target command and its variants work oddly, especially during a fight. Because it targets the next closer or further person, and people are constantly moving, it can seem to jump randomly.
Furthermore, it can only target things that are on your screen. If you're trying to use it to target things that are off to the side, or behind your camera, it won't pick them up.
If all your targets are on screen and unmoving, and it still doesn't cycle properly, it's either a problem with your bind/macro, or the way the system is parsing it. There have been issues reported with combining /target commands with /pow_exec commands for ages, but as you can see in this thread, they're inconsistent; for some reason, not everyone has them.
@Roderick
lctrl, lshift, lalt should technically only be used when binding something to that key specifically by itself, not in conjunction with another key. The proper usage here would simply be alt+KEY.
It still works typing it like that, but it's not good practice as the L just gets deleted internally. You can verify this by doing a /bindsavefile after making such binds and checking the results.
don't know if this is what you want or if its even functional for your situation, but i use the following macro(s) for team buffing...
/bind (modifier+)numpad# "powexec_name Name of Power$$ team_select #" [modifier = lctrl / lshift / lalt] first # is 1-6 (i'm rarely in teams larger then that, due to static grouping) second # matches the numpad for ease of usage. I mainly use this for Recall Friend and Mystic Fortune but it does work for many buffs, just double hit the key and it selects and fires the power. the main advantage is no need to worry about team range with target_next_friend. |
This way, you can be sure you're not double buffing someone (which doesn't work from the same caster anyway), and you will not target any pets that happen to be in range.
Originally Posted by Dechs Kaison See, it's gems like these that make me check Claws' post history every once in a while to make sure I haven't missed anything good lately. |
I've decided that it is impossible to string the 2 commands together and get it to work every time. The solution that I came up with is just to make one macro for targeting and put it right next to my buffing powers. It works so I'm not going to worry about it anymore.
Out of curiosity, are you making sure that your teammates are visible on screen? There's no bind I know that will scroll through the list of teammates, only visible ones.
Also, there's a way to do what you're talking about with rotating binds. Where you set a bind file to select a player and then load a replacement bind file that rebinds the key to executing a power which loads the original bind file again.
I'm pretty sure I have a sample here: http://www.jordans-town.com/mini-bind-reference
I can't check to be sure since my work blocks my pages for some reason.
I'm trying to set up a macro that will target the next teammate or pet and fire off sonic haven. I know I have to use target_custom_next and powerexec but I'm not sure how to write it. Please help. Here's what I tried but doesn't seem to work "/macro haven "target_custom_next"friend"$$powerexec_sonic_h aven or powerexec_name"sonic haven". I tried a couple of other combinations too but none of them seemed to work.
P.S. That space in haven was not there when I typed this.
Got it to work here's what I did: /macro haven "target_custom_next "friend"$$powexec_name sonic haven"
Oh well, thought it worked until I got a mm on the team and had him call pets. The syntax is right but I don't think you can string the 2 commands together. For now the targeting macro will just have to take up an extra tray slot. If anyone knows how to make this work please help.