combo script help

GPC1 script programming for Titan One. Code examples, questions, requests.

Re: combo script help

Postby J2Kbr » Mon Jun 11, 2018 12:27 pm

Lonewolf wrote:Hi, with the above script its possible to perform the following combo ( → ↘ ↓ ↙ ← → X ) pressing R1 or L1 ? its for complete a trophy in a game. thanks!

Not sure about the above script, but what you are describing is easy to implement. See the script below. It may be needed adjust the times in the combo to achieve the desired result.
Code: Select all
main {
    if(event_press(PS4_R1)) {
        combo_run(ForTrophi);
    }
}
 
combo ForTrophi {
    set_val(PS4_RIGHT, 100);
    wait(50);
    set_val(PS4_RIGHT, 100);
    set_val(PS4_DOWN, 100);
    wait(50);
    set_val(PS4_DOWN, 100);
    wait(50);
    set_val(PS4_DOWN, 100);
    set_val(PS4_LEFT, 100);
    wait(50);
    set_val(PS4_LEFT, 100);
    wait(50);
    set_val(PS4_RIGHT, 100);
    wait(50);
    set_val(PS4_RIGHT, 100);
    set_val(PS4_CROSS, 100);
    wait(50);
}
 
ConsoleTuner Support Team
User avatar
J2Kbr
General of the Army
General of the Army
 
Posts: 20323
Joined: Tue Mar 18, 2014 1:39 pm

Previous

Return to GPC1 Script Programming

Who is online

Users browsing this forum: No registered users and 48 guests

cron