Re: can someone make me a
Posted: Thu Jun 14, 2018 2:56 pm
J2Kbr wrote:Okay, this may be a solution for what you are describing, with the changes below the Auto Aim will only be activated when BOTH the ADS and FIRE buttons are pressed. This will allow use the Building inputs without issue and still have Auto Aim in combat mode.
- Code: Select all
#define HOLD_TIME 150
#define RELEASE_TIME 50
main {
if(get_val(BUTTON_8) && get_val(BUTTON_5)) {
combo_run(AutoAim);
} else combo_stop(AutoAim);
if(AutoAim) {
combo_run(LeftRight);
}
}
combo AutoAim {
set_val(BUTTON_8, 100.0);
wait(HOLD_TIME);
set_val(BUTTON_8, 0.0);
wait(RELEASE_TIME);
}
combo LeftRight {
set_val(STICK_2_X, -100.0);
wait(200);
set_val(STICK_2_X, 100.0);
wait(200);
}
Alright I'll try this