request for a script that move LS RS same time, pls

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

request for a script that move LS RS same time, pls

Postby samchan119 » Wed Sep 04, 2019 3:08 pm

hi, may i ask for a script that,
when i move Left stick, Right stick moves exactly the same.

thanks for that.
User avatar
samchan119
First Sergeant
First Sergeant
 
Posts: 58
Joined: Mon Jun 29, 2015 12:38 am

Re: request for a script that move LS RS same time, pls

Postby Scachi » Wed Sep 04, 2019 3:13 pm

Code: Select all
main {
    set_val(STICK_1_X,get_val(STICK_2_X));
    set_val(STICK_1_Y,get_val(STICK_2_Y));
}
 
User avatar
Scachi
Brigadier General
Brigadier General
 
Posts: 3044
Joined: Wed May 11, 2016 6:25 am
Location: Germany


Return to GPC2 Script Programming

Who is online

Users browsing this forum: No registered users and 178 guests