Combo Help
3 posts
• Page 1 of 1
Combo Help
I was wondering if anyone could help me write a script that toggles on when I press left on the dpad, that will then trigger a combo that runs down on the dpad once and presses A 3 times then repeats until I toggle it back off with left Dpad. I have a working concept right now but it press down on the dpad before I want it too any help is appreciated!
-
Hulkxxsmashh - Private First Class
- Posts: 2
- Joined: Sat Dec 22, 2018 9:14 pm
Re: Combo Help
- Code: Select all
int toggle;
main {
if(event_press(XB1_LEFT)) toggle = !toggle;
if(toggle) combo_run(myCombo);
}
combo myCombo {
set_val(XB1_DOWN, 100);
wait(60);
set_val(XB1_A, 100)
wait(60);
set_val(XB1_A, 0)
wait(60);
set_val(XB1_A, 100)
wait(60);
set_val(XB1_A, 0)
wait(60);
set_val(XB1_A, 100)
wait(60);
set_val(XB1_A, 0)
wait(60);
}
ConsoleTuner Support Team || ConsoleTuner Discord || InputSense Discord (2K / FPS)
- Mad
- Major General
- Posts: 4533
- Joined: Wed May 22, 2019 5:39 am
3 posts
• Page 1 of 1
Return to GPC1 Script Programming
Who is online
Users browsing this forum: No registered users and 101 guests