Re: Auto Strafe Request
Posted: Sat May 14, 2022 6:45 am
That looks perfect but could you give me a version that just has RT fire in it purely for just hip fire but that looks good. Your the best
High-performance gaming devices.
https://www.consoletuner.com/forum/
https://www.consoletuner.com/forum/viewtopic.php?f=26&t=19223
#include <xb1.gph>
#define STRAFE_TIME 500
#define THROWABLE_DELAY 1500
bool toggle;
main {
if(event_active(XB1_MENU)) toggle = !toggle;
if(toggle) {
if(is_release(XB1_LX) * is_release(XB1_LY)) {
if(check_release(XB1_RIGHT, THROWABLE_DELAY)) {
if(is_active(XB1_RT)) combo_run(Strafe);
else if(Strafe) combo_stop(Strafe);
}
}
else if(Strafe) combo_stop(Strafe);
}
}
combo Strafe {
set_val(XB1_LX, -100);
wait(STRAFE_TIME);
set_val(XB1_LX, 100);
wait(STRAFE_TIME);
}
#include <xb1.gph>
#define STRAFE_TIME 500
#define THROWABLE_DELAY 1500
main {
if(is_release(XB1_LX) * is_release(XB1_LY)) {
if(check_release(XB1_RIGHT, THROWABLE_DELAY)) {
if(is_active(XB1_RT)) combo_run(Strafe);
else if(Strafe) combo_stop(Strafe);
}
}
else if(Strafe) combo_stop(Strafe);
}
combo Strafe {
set_val(XB1_LX, -100);
wait(STRAFE_TIME);
set_val(XB1_LX, 100);
wait(STRAFE_TIME);
}