Control Settings: "while pressed"
Posted: Sat Jul 02, 2016 6:00 pm
Hey guys,
this has been bothering me for some time now and I always wanted to figure out the best way to switch between hammer and other weapons. I then came up with the idea to only switch to hammer when e.g. shift is pressed.
to make it a little more clear:
While shift isn't pressed, I can switch weapons freely with mousewheel(or numbers). When I press shift, I switch to hammer and stay with that weapon. When I release shift, the weapon switches back to the last weapon(or something more static).
Does anyone know how to realize this in a relatively simple way? Or do you have a completely different approach to your controls?
Some help would be really appreciated, thanks!
~ Infinity
this has been bothering me for some time now and I always wanted to figure out the best way to switch between hammer and other weapons. I then came up with the idea to only switch to hammer when e.g. shift is pressed.
to make it a little more clear:
While shift isn't pressed, I can switch weapons freely with mousewheel(or numbers). When I press shift, I switch to hammer and stay with that weapon. When I release shift, the weapon switches back to the last weapon(or something more static).
Does anyone know how to realize this in a relatively simple way? Or do you have a completely different approach to your controls?
Some help would be really appreciated, thanks!
~ Infinity