overfloater

Citizen
  • Posts

    1
  • Joined

  1. [ QUOTE ]
    [ QUOTE ]
    [ QUOTE ]
    w "+forward$$powexec_name hover$$powexec_name fly"

    [/ QUOTE ]
    One question:
    Why do the commands like the one above return to hover when the key is released?

    [/ QUOTE ]
    Because the + at the start of a command string affects the whole string, not just the first command. In effect it says "reverse all of this when the button is released". I'm still fuzzy on exactly how that is implemented in all cases; however, powexec commands are executed both when the key is pressed and released, causing hover/fly mode to toggle.

    [/ QUOTE ]
    Ahh, I was wondering that question myself and had drawn the same conclusion. Sounds like a bit of info for v1.1 of the Unofficial and Incomplete Guide.

    Now, how to exploit that useful little keydown/keyup tidbit in other binds...