Anyone free to make a script thanks
2 posts
• Page 1 of 1
Anyone free to make a script thanks
Left on D-pad to start and finish
RT over and over fast and every 2 second press LB+RB repeat
Thanks so much
RT over and over fast and every 2 second press LB+RB repeat
Thanks so much
-
Jono7110 - Command Sergeant Major
- Posts: 164
- Joined: Sun Nov 08, 2015 12:09 pm
Re: Anyone free to make a script thanks
- Code: Select all
#include <xb1.gph>
bool toggle;
main {
if(event_active(XB1_LEFT)) toggle = !toggle;
if(toggle) {
combo_run(RT);
combo_run(LBRB);
}
}
combo RT {
set_val(XB1_RT, 100);
wait(60);
set_val(XB1_RT, 0);
wait(60);
}
combo LBRB {
set_val(XB1_LB, 100);
set_val(XB1_RB, 100);
wait(60);
set_val(XB1_LB, 0);
set_val(XB1_RB, 0);
wait(2000);
}
ConsoleTuner Support Team || ConsoleTuner Discord || InputSense Discord
- Mad
- Major General
- Posts: 4536
- Joined: Wed May 22, 2019 5:39 am
2 posts
• Page 1 of 1
Return to GPC2 Script Programming
Who is online
Users browsing this forum: No registered users and 86 guests