[scripting] Scroll As Commander

mistagmistag Join Date: 2003-03-03 Member: 14257Members
<div class="IPBDescription">default-buttons don't work</div> hi,
i've a small scripting related question:
i want some scrollbuttons which work correctly when i'm commander (wasd don't stop scrolling if i release, the arrowbuttons stop also if i'm still pressing the button), so i've written those small aliases:

alias "+scroll_l" "+moveleft; -moveleft"
alias "-scroll_l" "-scrollleft"

unfortunately the "+scroll_l" alias doesn't work (it's executed, i've tested this) - it's just that nothing happens (the "-scroll_l" alias works)

P.S.: it's not because of the -moveleft, i've tested this one, too

any idea ??

Comments

  • DaxxDaxx Join Date: 2002-04-16 Member: 460Members, Constellation, Reinforced - Shadow
    I may seem really simple, but in the HL text engine, an capitol i looks the same as a lower case L. Did you check this?
  • mistagmistag Join Date: 2003-03-03 Member: 14257Members
    no, i've written it in a text-editor (of course) and there the lower L and the upper i look different...
    if checked it though and it's correct
  • Silver_FoxSilver_Fox Spammer Join Date: 2002-01-24 Member: 34Members, NS1 Playtester, Contributor
    alias "+scroll_l" "+moveleft; -moveleft"

    all this is going to do is execute the move left command, then cancel it a second later all while still holding down the key

    alias "-scroll_l" "-scrollleft"

    this does ... nothing, unless there is a scrollleft command I dont know about ...

    the mouse wheel commands are mwheelup and mwheeldown

    other then that, I guess I just dont get what your trying to do
  • mistagmistag Join Date: 2003-03-03 Member: 14257Members
    edited March 2003
    alias "+scroll_l" "+moveleft; -moveleft"
    --> as described above, if you press the wasd buttons (binded to +moveleft, +moveright etc.) don't stop scrolling if you release the key (try it <!--emo&:)--><img src='http://www.unknownworlds.com/forums/html/emoticons/smile.gif' border='0' style='vertical-align:middle' alt='smile.gif'><!--endemo--> ), so this command just <b>starts</b> scrolling (theoretically). (I also added that the problem is <b>not</b> the -moveleft)

    <u>I don't understand why it doesn't work but it works if you use the wasd buttons</u> ??

    alias "-scroll_l" "-scrollleft"
    --> the -scrolleft is part of the +scrolleft command which is binded in the default config (!) to the arrowkeys and it's meant to stop scrolling and fix the view on the oint where you are (--> just stop scrolling <!--emo&:)--><img src='http://www.unknownworlds.com/forums/html/emoticons/smile.gif' border='0' style='vertical-align:middle' alt='smile.gif'><!--endemo--> )

    And it works <!--emo&:)--><img src='http://www.unknownworlds.com/forums/html/emoticons/smile.gif' border='0' style='vertical-align:middle' alt='smile.gif'><!--endemo--> (you can try this one too <!--emo&:)--><img src='http://www.unknownworlds.com/forums/html/emoticons/smile.gif' border='0' style='vertical-align:middle' alt='smile.gif'><!--endemo--> )
  • EgoEgo Join Date: 2003-01-27 Member: 12804Members
    FINALLY A SCRIP THAT IS USEEFULL

    so sick of people making there fast weapon switch, or there leap bite so they think they haxorz

    now THIS is useful, something that fixes an ERROR not a cheat,


    props to all those that use scripts for good, not dumbuglymoron

    btw, im not sure what the problem is, im testing tonight...


    Ego

    [FACT] - gooood
  • Cereal_KillRCereal_KillR Join Date: 2002-10-31 Member: 1837Members
    you cant bind the mouse in commander mode. I found out by binding mouse4 to voicerecord and then yelling out WHY CANT YOU LISTEN TO WHAT I SAY in both the mic and in typing.
    or I had idiots on my team :/
  • mistagmistag Join Date: 2003-03-03 Member: 14257Members
    it has nothing to do with mouse,
    i just want to bind the arrowkeys...
  • mistagmistag Join Date: 2003-03-03 Member: 14257Members
    argh can't nobody help ? <!--emo&:D--><img src='http://www.unknownworlds.com/forums/html/emoticons/biggrin.gif' border='0' style='vertical-align:middle' alt='biggrin.gif'><!--endemo-->
Sign In or Register to comment.