Jump to content

Marco example required


Recommended Posts

Some abilities require us to select a spot where we put a big circle on the ground.  Isn't there a way to do a macro to have it placed on the current target instead?

I went to Ouroboros all i got was this lousy secret!

 

 

Link to comment
Share on other sites

2 hours ago, Parabola said:

/macro Marco powexec_location target powername? Or is that not what you're asking?

Thanks, that was it.  Tested and approved.  I should have remembered it.

I went to Ouroboros all i got was this lousy secret!

 

 

Link to comment
Share on other sites

15 hours ago, wjrasmussen said:

Thanks, that was it.  Tested and approved.  I should have remembered it.

I have a file with popmenus for the location AoE powers my various characters have, most of which have three options (selectable with 1/2/3); '1' is the normal power activation, where you use the mouse to place it, '2' is "powexeclocation down:max", which puts it at your feet if you're on the ground and straight down if you're flying, and '3' is "powexeclocation target", dropping it at the feet of your current target. I macro the popmenu and put it in my trays in place of the power icon, which I stuff in an unused tray so I can see the recharge. Some powers have more options -- Wormhole has six: standard, down:max, up:max, fwd:max, back:max, and cam:max; the last three are useful for repositioning spawns when I'm trying to stealth a mission. That mobs don't take damage from being repositioned into midair and falling is sad, but it's at least consistent; not drawing aggro when using it is convenient.

 

A sample popmenu definition from my 'Location Powers.mnu' file in the 'Homecoming\data\texts\English\menus' folder:

//------------------------------------------
// Rain of Fire

Menu "FireRain"
{
Title Rain of Fire
Option "Rain of Fire &1" "powexecname Rain of Fire"
Option "Here &2" "powexeclocation down:max Rain of Fire"
Option "Target &3" "powexeclocation target Rain of Fire"
}

And I would use "/macro Rain popmenu FireRain" to create a macro button, and when I activated it, I'd get the 1/2/3 choice for where to put the rain.

 

And a somewhat different one for more options with Wormhole:

//------------------------------------------
// Wormhole
// Wormhole will attempt to teleport the current target and the mobs
// around it to the location specified by the targeting cursor; this
// popmenu adds some predefined options
// 1 -- standard power activation
// 2 -- teleport to in front of character
// 3 -- teleport straight up over character to max altitude
// 4 -- teleport in the direction the character is facing to
//      the maximum range of the power
// 5 -- teleport behind the character to the maximum range of the
//      power. Because Wormhole does not appear to generate aggro,
//      this can be used to pull all or part of a spawn far enough
//      back to be defeated more readily, after which the remaining
//      mobs can be attacked.

Menu "Wormhole"
{
Title Wormhole
Option "Wormhole &1" "powexecname Wormhole"
Option "Here &2" "powexeclocation 0:10 Wormhole"
Option "Zoom &3" "powexeclocation up:max Wormhole"
Option "Boom &4" "powexeclocation cam:max Wormhole"
Option "Pull &5" "powexeclocation back:max Wormhole"
}

 

Edited by srmalloy
  • Like 1
Link to comment
Share on other sites

6 hours ago, Snarky said:

All my ice Blast toons use a Macro for targeting 'Target" and "Myself" for the rains.  Makes for an extra tray, but worth it.

I usually have 5 trays open but one more isn't a big deal.

I posted when I was into about my 50th hour without sleep.  Insomnia sucks.

  • Like 1

I went to Ouroboros all i got was this lousy secret!

 

 

Link to comment
Share on other sites

21 hours ago, srmalloy said:

I have a file with popmenus for the location AoE powers my various characters have, most of which have three options (selectable with 1/2/3); '1' is the normal power activation, where you use the mouse to place it, '2' is "powexeclocation down:max", which puts it at your feet if you're on the ground and straight down if you're flying, and '3' is "powexeclocation target", dropping it at the feet of your current target. I macro the popmenu and put it in my trays in place of the power icon, which I stuff in an unused tray so I can see the recharge. Some powers have more options -- Wormhole has six: standard, down:max, up:max, fwd:max, back:max, and cam:max; the last three are useful for repositioning spawns when I'm trying to stealth a mission. That mobs don't take damage from being repositioned into midair and falling is sad, but it's at least consistent; not drawing aggro when using it is convenient.

 

A sample popmenu definition from my 'Location Powers.mnu' file in the 'Homecoming\data\texts\English\menus' folder:

//------------------------------------------
// Rain of Fire

Menu "FireRain"
{
Title Rain of Fire
Option "Rain of Fire &1" "powexecname Rain of Fire"
Option "Here &2" "powexeclocation down:max Rain of Fire"
Option "Target &3" "powexeclocation target Rain of Fire"
}

And I would use "/macro Rain popmenu FireRain" to create a macro button, and when I activated it, I'd get the 1/2/3 choice for where to put the rain.

 

And a somewhat different one for more options with Wormhole:

//------------------------------------------
// Wormhole
// Wormhole will attempt to teleport the current target and the mobs
// around it to the location specified by the targeting cursor; this
// popmenu adds some predefined options
// 1 -- standard power activation
// 2 -- teleport to in front of character
// 3 -- teleport straight up over character to max altitude
// 4 -- teleport in the direction the character is facing to
//      the maximum range of the power
// 5 -- teleport behind the character to the maximum range of the
//      power. Because Wormhole does not appear to generate aggro,
//      this can be used to pull all or part of a spawn far enough
//      back to be defeated more readily, after which the remaining
//      mobs can be attacked.

Menu "Wormhole"
{
Title Wormhole
Option "Wormhole &1" "powexecname Wormhole"
Option "Here &2" "powexeclocation 0:10 Wormhole"
Option "Zoom &3" "powexeclocation up:max Wormhole"
Option "Boom &4" "powexeclocation cam:max Wormhole"
Option "Pull &5" "powexeclocation back:max Wormhole"
}

 

Oh. Eh. How does this Popmenu stuff work with keybinds?

How I would expect:

Keybind a button to bring up the specific Popmenu and then press 1,2,3,4 etc.

So you could have a tray of Popmenus, and each of those contains any number of powers. So it's like multi-keying powers. Quite cool.

 

Is that true?

 

I'm scared.

Link to comment
Share on other sites

Polo!

Looking for SFMA content over multiple arcs? Search for the following under "cranebump.LONG FORM: Ordinary People [3 parts] Investigation of a series of thefts leads you deep into a vengeful plot that threatens all of Paragon City. Will you and Kings Row's "ordinary" heroes be able to stop it? Leviathan [5 parts] The  assassination of a local politician with national aspirations sets off a media frenzy among everyone's favorite reactionary network, NewsAnon. Among their targets? You. Mobius [5 Parts]:  Visions of past, present, and possibility collide, as you and the Autumn Wards unravel the mystery of the 7-year time gap. Fallout (3 Parts) When your initial investigation into a theft at a local S&L reveals a connection to its stolen tech, the drawn-down Autumn Wards bring you in to investigate. The Cage Series [3 parts]: The Iron Widow is back! Or...is she? Your vigilante philosophy is put to the test in this tale of shifting loyalties and outright deceit.  The Bleed [3 parts]: Your investigation of arcane fissures in IP leads you to uncover a 100-year old secret shrouded in magic, blood, and betrayal. Noble Mettle [2 parts]: A Sky Raider raid on the Paragon Commodities Commission turns from simple kidnapping to a complicated scheme involving mercenaries, "Communists," economics, and chemistry. One Shots:  Of Guns and Asa Ronan; The Tenuous State of Grace; Garden of the Will; Gravity; The Book of Bond's; The Lost Girls; Injustice Systems; Wednesday’s Wyverns; Of ‘Dine and Men; Dark Legacy; Shadow and Silver, The Re-education of Westin Phipps, Potter's Field; Magnjficence; Squalls and the Comet, Turf

Link to comment
Share on other sites

1 hour ago, Herotu said:

Oh. Eh. How does this Popmenu stuff work with keybinds?

It works the same way any other command does; you create a keybind or macro that calls the popmenu, and when you hit the key or macro icon, the popmenu appears under your mouse cursor for you to pick an option. The Long Range Teleport power is a popmenu macro with its own icon, for example. With the popmenus I created, I wanted them to be usable from the keyboard; the "&1", "&2", and "&3" in the Rain of Fire popmenu are the hotkey definitions — when the popmenu is displayed, hitting one of those keys selects the associated entry.

Link to comment
Share on other sites

 Share

×
×
  • Create New...