Scripting Q


(EvilBaga) #1

I was wondering if there was a way to make a cfg that would only be implemented while a button is being held down.
For eg, I would like to have normally, mouse sensitivity 2.33, and while i press and hold down mouse button 2, the sensitivity to be 3.87.
This would be very useful for sniping, and for firefights, once one could get used to it.


(Chappy) #2

bind mouse2 “+vstr lowsens highsens”
set lowsens “sensitivity 2.33”
set highsens “sensitivity 3.87”