Alternative Inventory Script -
Ranma - Dec 18, 2009
Just little something I did while digging through stuff. Just put it in autoexec.cfg
//Quickswitch Menu
bind p OpenQuick
Alias OpenQuick "+quickswitch; bind p CloseQuick"
Alias CloseQuick "-quickswitch; bind p OpenQuick"
Its a menu they put in but using it the default way makes you hold down the button while using it. When you have it open use numbers 1-5 to switch which slot item you're looking at. It's a faster more seamless way than opening your backpack loadout every time.
Alternative Inventory Script -
Drunken F00l - Dec 18, 2009
Wait. How is this different than:
:?:
Alternative Inventory Script -
Ranma - Dec 18, 2009
If you did that it would just leave the menu open and couldnt close it then. Use of the Alias command lets me easily and legibly reassign p back and forth between the menu open/close call.
Alternative Inventory Script -
Drunken F00l - Dec 18, 2009
Uhmmm...
Protip: When releasing a key that is bound to a +command, it executes the -command.
Alternative Inventory Script -
Ranma - Dec 18, 2009
Right, I know but thats not the wanted functionality. That way youd have to keep the button held down.
The point of the script is to make it easier, where you press the button and window opens, press again to close. Makes it easier to use than having to hold down the button.
Alternative Inventory Script -
Drunken F00l - Dec 18, 2009
Ah, I gotcha now