Macro help


all_hell

 

Posted

So I'm making a macro to turn all my toggles on but for some reason it's only turning the last one on. When I click the macro again it will turn the last one off and turn the second to last one on, click it a third time and it turns the second to last one off and the last one back on again. What am I doing wrong?

Here is the script...

/macro Def "powexec_name Unyielding$$powexec_name Temp Invulnerability$$powexec_name Invincibility$$powexec_name Tough$$powexec_name Weave$$powexec_name Combat Jumping"


 

Posted

You may want to post this is the "Player Questions" section instead of the "Player Guides" section. This section is for Guides written up and the discussion related to those guides.

But for a quick answer: You cannot activate more than one power with "powerexec_name" at a time. The scripting system will not allow it. There is more to it than that, but the short answer is that what you are trying won't work.


LOCAL MAN! The most famous hero of all. There are more newspaper stories about me than anyone else. "Local Man wins Medal of Honor." "Local Man opens Animal Shelter." "Local Man Charged with..." (Um, forget about that one.)
Guide Links: Earth/Rad Guide, Illusion/Rad Guide, Electric Control

 

Posted

I don't know if this can be turned into a macro or not. If not, try a bind instead.

I use this one

Code:
Y "+down$$-down$$powexectoggleon rise to the challenge$$powexectoggleon tough$$powexectoggleon weave$$powexectoggleon heightened senses$$powexectoggleon mind over body$$powexectoggleon indomitable will$$powexectoggleon combat jumping"
It turns on one power when I depress the button and another when I release it starting at the end (right hand side) and working toward the beginning. So it's not all of them, but it's two at a time and all on one key.

the +down$$-down$$ can be shortened, but the shorter version broke once upon a time and I have never switched it back


 

Posted

You need to use powexectoggleon not powexec_name as that just changes the state of a toggle. Hence the turning off.