Simple Combo Help

GPC2 script programming for Titan Two. Code examples, questions, requests.

Simple Combo Help

Postby Timmyk22 » Mon Jan 27, 2020 1:34 am

Im looking for a one button combo script. So essentially when I press my paddle button (not sure which number yet), I need a combo to play. The combo will be on Xbox (LS press + LS RIght + A) all at the same time. Im terrible with coding this, so if someone could help that would be awesome.
User avatar
Timmyk22
First Sergeant
First Sergeant
 
Posts: 48
Joined: Wed Sep 20, 2017 1:31 pm

Re: Simple Combo Help

Postby Mad » Mon Jan 27, 2020 1:42 am

Set it to paddle 1
Code: Select all
#include <xb1.gph>
 
#define PADDLE BUTTON_18
 
main {
    if(event_active(PADDLE)) combo_run(myCombo);
}
 
combo myCombo {
    set_val(XB1_LS, 100);
    set_val(XB1_LX, 100);
    set_val(XB1_A, 100);
    wait(60);
}
ConsoleTuner Support Team || ConsoleTuner Discord || InputSense Discord
Mad
Major General
Major General
 
Posts: 4536
Joined: Wed May 22, 2019 5:39 am

Re: Simple Combo Help

Postby Timmyk22 » Tue Feb 04, 2020 12:40 am

Thanks for doing this! I am having an issue where it doesn't work every time. https://www.youtube.com/watch?v=jzRIRoZMu0I
This is what I am trying to do. However when it works it works perfect, but when I press it sometimes it dodges to the left instead of stalling. I've tried to put wait time in between each but nothing has worked. If anyone knows a fix for this that would be awesome.
User avatar
Timmyk22
First Sergeant
First Sergeant
 
Posts: 48
Joined: Wed Sep 20, 2017 1:31 pm


Return to GPC2 Script Programming

Who is online

Users browsing this forum: No registered users and 152 guests