[scripting] Scroll As Commander
mistag
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 ??
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
if checked it though and it's correct
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
--> 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--> )
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
or I had idiots on my team :/
i just want to bind the arrowkeys...