help with custom script
3 posts
• Page 1 of 1
help with custom script
hey how do i make a custom script looking for a script when turned on all pushes Y AND B at the same time on xbox every 150ms intill turned off any help would be great! :D
-
tron02 - Private First Class
- Posts: 2
- Joined: Sun Jul 25, 2021 12:41 pm
Re: help with custom script
Welcome.
Hold left trigger and tap dpad up to toggle:
Hold left trigger and tap dpad up to toggle:
- Code: Select all
#include <xb1.gph>
bool toggle;
main {
if(is_active(XB1_LT) && event_active(XB1_UP)) {
toggle = !toggle;
}
if(toggle) combo_run(YB);
}
combo YB {
set_val(XB1_Y, 100);
set_val(XB1_B, 100);
wait(40);
wait(150);
}
ConsoleTuner Support Team || ConsoleTuner Discord || InputSense Discord
- Mad
- Major General
- Posts: 4536
- Joined: Wed May 22, 2019 5:39 am
Re: help with custom script
amazing thanks you will help me alot
-
tron02 - Private First Class
- Posts: 2
- Joined: Sun Jul 25, 2021 12:41 pm
3 posts
• Page 1 of 1
Return to GPC2 Script Programming
Who is online
Users browsing this forum: No registered users and 82 guests