I need help with the script ><"
3 posts
• Page 1 of 1
I need help with the script ><"
Can Edit Hold (TouchPad) Press (L2) ON/FFO
With the addition of colors on/off
With the addition of colors on/off
- Code: Select all
define speed = 55;
main {
if (get_val(PS4_L2)) {
combo_run(c_Circle);
}
}
combo c_Circle {
set_val(PS4_CIRCLE, 500);
wait(speed);
wait(speed);
}
-
doiz - Staff Sergeant
- Posts: 12
- Joined: Sat May 05, 2018 5:21 am
Re: I need help with the script ><"
Can you describe in detail what exactly needs to be done - what button presses etc.
ConsoleTuner Support Team || ConsoleTuner Discord || InputSense Discord (2K / FPS)
- Mad
- Major General
- Posts: 4533
- Joined: Wed May 22, 2019 5:39 am
Re: I need help with the script ><"
He is asking for a toggle with TOUCH+L2:
- Code: Select all
define speed = 55;
int toggle;
main {
if(get_val(PS4_TOUCH) && event_press(PS4_L2)) {
toggle = !toggle;
if(toggle) {
set_ledx(LED_3, 0);
} else reset_leds();
}
if(toggle) {
if(get_val(PS4_L2)) {
combo_run(c_Circle);
}
}
}
combo c_Circle {
set_val(PS4_CIRCLE, 500);
wait(speed);
wait(speed);
}
ConsoleTuner Support Team
-
J2Kbr - General of the Army
- Posts: 20323
- Joined: Tue Mar 18, 2014 1:39 pm
3 posts
• Page 1 of 1
Return to GPC1 Script Programming
Who is online
Users browsing this forum: No registered users and 72 guests