Problems making a GCV script

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

Problems making a GCV script

Postby Ionlyseegreens » Wed May 10, 2023 11:40 am

Hello all,

I'm new to scripting but I've managed to make a script GCV script that works however then GPC input it delayed, I can see on the Device monitor tab that the button is released at the correct time upon detecting a boolean in the GCV Output however the action of the GPC happens about half a second after it should. I've checked the GPC script and it has no delay so I'm not sure whats causing it, could it be the match templating I've used in the GCV file? Please help, as I want to release this script soon for all to use.

Here's what the GPC script looks like
Code: Select all
bool Perfect = FALSE;
main {
    if(gcv_ready()) {
        Perfect = gcv_read(0);
    }
 
    if(Perfect)
        combo_run(attack);
 
}
 
combo attack
{   
    wait(10);
    set_val(BUTTON_17, 0.0);
    wait(300);
 
}
User avatar
Ionlyseegreens
Private
Private
 
Posts: 1
Joined: Sat Apr 23, 2022 1:06 am

Return to GPC2 Script Programming

Who is online

Users browsing this forum: No registered users and 113 guests