test content
What is the Arc Client?
Install Arc

Bind Question

flamingbunnymanflamingbunnyman Posts: 1,995 Arc User
edited January 2013 in Controls and Interface
In City of Heroes, if two toggle powers were mutually exclusive, you could make one bind that activates both of them, and pressing it would make you swap between the two. For example /bind X "pow_exec_name super jump$$pow_exec_name combat jumping" would turn on Combat Jumping the first time it was pressed, and alternate between Super Jump and Combat Jumping each time it was pressed.

Can a similar thing be done here? Specifically, I'd like to make it so that my two travel powers activate off the same key, so that I can just press it to switch between the two.
_________________________________________________
@flamingbunnyman in game. Formerly @Roderick in City of Heroes.
Post edited by flamingbunnyman on

Comments

  • fr0gurtfr0gurt Posts: 0 Arc User
    edited January 2013
    Check out "How can I change costumes/builds when I activate my travel power?" from the FAQ for Bindings/Commands.

    Specifically, try:

    tp1.txt:
    t "+PowerTrayExec 14 $$ bind_load_file tp2.txt"

    tp2.txt:
    t "+PowerTrayExec 15 $$ bind_load_file tp1.txt"

    Then run:
    /bind t "+PowerTrayExec 14 $$ bind_load_file tp2.txt"

    This will put T in a loop where it activates one travel power, then rebinds itself to activate the other travel power.

    (Note that this technique doesn't work for me personally, maybe because I'm playing through Steam, or installed CO to my D: drive, or both, or something else. CommandAliases.txt also doesn't work for me, likely due to the same reason.)
Sign In or Register to comment.