Page 1 of 1

Help me ROcket league

PostPosted: Sat Apr 27, 2019 12:11 pm
by emirtzt2
Can someone make so when i hold down square then hold down r1 left stick to left and hold x until i stop holding square would be very helpful it is for rocket league its called Stalling

Re: Help me ROcket league

PostPosted: Sat Apr 27, 2019 12:42 pm
by emirtzt2
ps4 controller btw heres to make it easier https://www.youtube.com/watch?v=aIm1SJkh4uY
I basically want a bind that starts when i hold down square

Re: Help me ROcket league

PostPosted: Mon Apr 29, 2019 10:22 am
by J2Kbr
Please test the script below, it should perform the described actions. :smile0517:
Code: Select all
int toggle;
 
main {
    // when i hold down square then hold down r1
    if(get_val(PS4_SQUARE) && event_press(PS4_R1)) {
        toggle = TRUE;
    } else if(event_release(PS4_SQUARE)) {
        // until i stop holding square
        toggle = FALSE;
    }
    if(toggle) {
        // left stick to left and hold x
        set_val(PS4_LY, 0);
        set_val(PS4_LX, -100);
        set_val(PS4_CROSS, 100);
    }
}
 

Re: Help me ROcket league

PostPosted: Sat May 11, 2019 3:37 pm
by emirtzt2
when i press square nothing happens i think i did something wrong??`?

Re: Help me ROcket league

PostPosted: Sun May 12, 2019 10:53 am
by J2Kbr
To start you should press SQUARE + R1

Re: Help me ROcket league

PostPosted: Wed May 15, 2019 3:02 pm
by emirtzt2
ok but the stall dosnt work but ty for trying