scipt not working

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

scipt not working

Postby ayedmonkey » Fri Oct 22, 2021 7:34 am

My script here runs well but does not do anything when I connect the titan 2 to the Nintendo switch. This is my first script so I'm interested in what I'm doing wrong.

Code: Select all
#pragma METAINFO("practise", 1, 0, "<author_name>")
 
init
{
 
}
 
main
{
    if(get_val(BUTTON_17))
    {
        combo_run(DROPDOWN);
    }
}
 
combo DROPDOWN{
        set_val(BUTTON_15, 1);
        wait(300);
        set_val(BUTTON_15, 1);
    }
 
User avatar
ayedmonkey
Private
Private
 
Posts: 1
Joined: Fri Oct 22, 2021 7:26 am

Try this

Postby MrBrgv » Thu Oct 28, 2021 5:38 pm

i havent tested but try this
Attachments
test.gpc
(283 Bytes) Downloaded 57 times
User avatar
MrBrgv
Sergeant First Class
Sergeant First Class
 
Posts: 16
Joined: Sun Dec 27, 2020 9:32 pm


Return to GPC2 Script Programming

Who is online

Users browsing this forum: No registered users and 97 guests