Super easy script help
3 posts
• Page 1 of 1
Super easy script help
Hi! Sorry I suck at coding and its been a while since I messed with my Titan. All I need is (for the Xbox One controller) a continuous somewhat rapid fire of the A button. Pretty much every 0.4 seconds. Thanks for any help!!
-
volta1492 - Master Sergeant
- Posts: 40
- Joined: Thu Mar 26, 2020 9:40 pm
Re: Super easy script help
Dpad down to toggle on/off
- Code: Select all
int toggle;
main {
if(event_press(XB1_DOWN)) toggle = !toggle;
if(toggle) combo_run(press_A);
}
combo press_A {
set_val(XB1_A, 100);
wait(60);
set_val(XB1_A, 0);
wait(400);
}
ConsoleTuner Support Team || ConsoleTuner Discord || InputSense Discord
- Mad
- Major General
- Posts: 4536
- Joined: Wed May 22, 2019 5:39 am
Re: Super easy script help
Thanks Mad!! You are awesome!!! It works and does what it needs to do. You are truly a gentleman and a scholar! Thanks again!
-
volta1492 - Master Sergeant
- Posts: 40
- Joined: Thu Mar 26, 2020 9:40 pm
3 posts
• Page 1 of 1
Return to GPC1 Script Programming
Who is online
Users browsing this forum: No registered users and 49 guests