Jump to content

Recommended Posts

Posted

hi everyone I need some help with a Macro. I am wanting to know if a macro can be made to beagle to activate Bonfire at my location with out having to place the pointer at my location. in other words I would like to just push the desired button as I jump in to a group and bonfire would be used. is this possible and how would I create the macro I am not very good with macros so would prefer if it was explained for  dummies' lol.

Posted

powexec_location is what you are looking for (https://hcwiki.cityofheroes.dev/wiki/Powexec_location_(Slash_Command)). To create a macro to drop at your location use "/macro NAME powexec_location me bonfire" or for under your target which is more typical for bonfire "/macro NAME powexec_location target bonfire". It can also be used with a bind command to assign it a key or sequence. On my Fire troller I use, "/bind ALT+w powexec_location target bonfire"

 

 

  • Like 1
Posted

You can combine both options and the macro image command for even more fun.  The command below creates a macro with the Freezing Rain icon.  When clicked, it tries to drop FR at my target.  If I don't have a target selected, it drops it at my feet.  (The only unhandled case is if my selected target is out of range for FR -- then nothing happens when I click the button.)

 

/macro_image stormsummoning_freezingrain.texture "Freezing Rain" "powexec_location me freezing rain$$powexec_location target freezing rain"

  • Thanks 1
Posted
On 10/29/2020 at 6:37 PM, mezzosoprano said:

You can combine both options and the macro image command for even more fun.  The command below creates a macro with the Freezing Rain icon.  When clicked, it tries to drop FR at my target.  If I don't have a target selected, it drops it at my feet.  (The only unhandled case is if my selected target is out of range for FR -- then nothing happens when I click the button.)

 

/macro_image stormsummoning_freezingrain.texture "Freezing Rain" "powexec_location me freezing rain$$powexec_location target freezing rain"

This is interesting. Do you have to press the button twice to get it to drop at you when you have no target selected?

Posted

Only have to press the button once.  IIRC, macros work from right to left for aggregated calls, exiting after the first successful call.  So if I have no target selected, the last call fails, then the client tries the other call, dropping it at my feet.  

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...