very easy script request

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

Re: very easy script request

Postby Scachi » Wed Oct 20, 2021 1:00 pm

you can try to release the R2 when sending the initial button.
example:
Code: Select all
combo SQUARE { //RT 100ms later SQUARE
    set_val(BUTTON_5, 100.00);    //R2
    set_val(BUTTON_17, 0.00);    //SQUARE
    wait(time1); //time when the Button gets pressed
    set_val(BUTTON_5, 0.00);    //R2 <- CHANGED, releasing button_5
    set_val(BUTTON_17, 100.00);    //SQUARE
    wait(100);
}
User avatar
Scachi
Brigadier General
Brigadier General
 
Posts: 3044
Joined: Wed May 11, 2016 6:25 am
Location: Germany

Re: very easy script request

Postby waffle123 » Sat Oct 23, 2021 7:02 am

Scachi wrote:you can try to release the R2 when sending the initial button.
example:
Code: Select all
combo SQUARE { //RT 100ms later SQUARE
    set_val(BUTTON_5, 100.00);    //R2
    set_val(BUTTON_17, 0.00);    //SQUARE
    wait(time1); //time when the Button gets pressed
    set_val(BUTTON_5, 0.00);    //R2 <- CHANGED, releasing button_5
    set_val(BUTTON_17, 100.00);    //SQUARE
    wait(100);
}



Yes! this works perfectly !!

Thanks a million Haures and Sarachi for making this for me, i honestly appreciate it alot. it's the only reason i got the titan two and now i can use it perfectly.
User avatar
waffle123
Staff Sergeant
Staff Sergeant
 
Posts: 11
Joined: Fri Oct 15, 2021 5:24 pm

Previous

Return to GPC1 Script Programming

Who is online

Users browsing this forum: No registered users and 44 guests