Script Help Please

Titan One general support. Questions, firmware update, feature request.

Script Help Please

Postby Conjuring Gogue » Sat Feb 02, 2019 4:58 pm

I'm trying to create holding down LT + X holds down the RY function. It should hold that position until I let go of either LT or X.

This is what I have and it's not working so I'm not sure what I'm missing. Thank you.

Code: Select all
if((get_val(XB360_LT)) && (get_val(XB360_X))) { 
       set_val(XB360_RY, 100);
    }
User avatar
Conjuring Gogue
Master Sergeant
Master Sergeant
 
Posts: 30
Joined: Thu Feb 02, 2017 6:02 pm

Re: Script Help Please

Postby J2Kbr » Mon Feb 04, 2019 12:31 pm

I tested your code and it seems to have worked for me:
Code: Select all
main {
    if(get_val(XB360_LT) && get_val(XB360_X)) {
        set_val(XB360_RX, 0);
        set_val(XB360_RY, 100);
    }
}
ConsoleTuner Support Team
User avatar
J2Kbr
General of the Army
General of the Army
 
Posts: 20323
Joined: Tue Mar 18, 2014 1:39 pm


Return to Titan One Device

Who is online

Users browsing this forum: No registered users and 98 guests