Temporarily disable left analog up/down while holding fire?
Posted: Thu Mar 26, 2020 5:01 pm
Hi folks, this is basically a short script request. Sometimes when using rapid fire on a burst fire weapon, if I'm sprinting and then start firing while still holding the left analog forward, my character will keep sprinting forward between bursts because the sprint is still active.
So basically I was looking for a script that disables the left analog Y axis (up/down) input for a split second when the R2 button is pressed, just long enough to cancel the sprint so that my character doesn't try to sprint between shots when using rapid fire on a burst weapon. You can take a guess as to what this value might be and I can then edit and test the script until it's working perfectly, but I'm unsure of how to set it up in the first place.
Thanks for any help!
So basically I was looking for a script that disables the left analog Y axis (up/down) input for a split second when the R2 button is pressed, just long enough to cancel the sprint so that my character doesn't try to sprint between shots when using rapid fire on a burst weapon. You can take a guess as to what this value might be and I can then edit and test the script until it's working perfectly, but I'm unsure of how to set it up in the first place.
Thanks for any help!