x
ETF2L is looking for new Staff to recruit! Are you interested in supporting the league? Then click here for more details on what we can offer and how to apply! 

Forum

Script to manually bind Q/mwheel

Created 11th April 2010 @ 10:11

Add A Reply Pages: 1

octochris

(0v0)

I’m not even sure if it is possible, but if it is I am close.

I am aware that this script doesn’t work, instead it just crashes tf2 (like it runs into an infinite loop somewhere). I did a bit of looking, and I can’t find where I’ve looped it. It crashes on exec.

Any ideas?

http://pastebin.com/raw.php?i=3hqMUvAX


Last edited by octochris,

Waster

In your initial bind you are calling position1_mwheel, while there you are calling position3_mwheel and there you are calling position2_mwheel who is calling position2_mwheel. And thats looping.

I dont really understand the script, but looking at your script you probably misplaced a quotation mark.

eoN^

Im sure someone made a script that could do this a while ago :S

Maybe im tripping because i dont remember where it was but i remember someone made a mousewheel script that worked for melee to and q worked.

octochris

(0v0)

Quoted from Waster

In your initial bind you are calling position1_mwheel, while there you are calling position3_mwheel and there you are calling position2_mwheel who is calling position2_mwheel. And thats looping.

I dont really understand the script, but looking at your script you probably misplaced a quotation mark.

Ahhh, yes, that’s it, I closed the quotation mark too early. Thanks. :)

Waster

Scripting is peanuts. I also made a script with q working and mousewheel and different viewmodels en crosshairs.

I dont know exactly. But you are using nested quotation marks and thats always problematic. I dont know if your script is working correctly. But maybe it will not execute multiple commands. You can then try to make a seperate alias for the multiple commands and bind your key to that alias.

octochris

(0v0)

Quoted from Waster

Scripting is peanuts. I also made a script with q working and mousewheel and different viewmodels en crosshairs.

I dont know exactly. But you are using nested quotation marks and thats always problematic. I dont know if your script is working correctly. But maybe it will not execute multiple commands. You can then try to make a seperate alias for the multiple commands and bind your key to that alias.

Yeah, that was part of the problem, my 5am mind forgot that you can’t bind multiple commands without aliasing.

Add A Reply Pages: 1