bonefisher wrote:Try holding the button for a length of time to see if that works for each and then we will know if you have to put time limit on them.
No that didn't work I tried it. Also remember that the script that I got working for H5 worked fine for R6. The problem was I could either apply it to reload, or switch weapons, not both. Basically I'm trying to do exactly the same thing but for two buttons instead of one this time.
This was the original code:
- Code: Select all
if(!get_val(ADS_BUTTON) && !get_val(RELOAD_BUTTON)) {
And I tried these two but they didn't work either:
- Code: Select all
if((!get_val(ADS_BUTTON) && !get_val(RELOAD_BUTTON)) || (!get_val(ADS_BUTTON) && !get_val(SWITCH_BUTTON))) {
- Code: Select all
if(!get_val(ADS_BUTTON) && (!get_val(RELOAD_BUTTON) || !get_val(SWITCH_BUTTON)) {