Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5

Alternative Inventory Script
#1

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.
Reply
#2

Wait. How is this different than:
Code:
bind p +quickswitch
:?:
Reply
#3

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.
Reply
#4

Uhmmm...

Protip: When releasing a key that is bound to a +command, it executes the -command.
Reply
#5

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.
Reply
#6

Ah, I gotcha now Smile
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)