Xbox One Holding LT
2 posts
• Page 1 of 1
Xbox One Holding LT
Hello everyone,
I am new to this and want to get good, but for now I just need a code. Can anyone please create a code that when you press LT it hold for like 20 seconds, then lets go for 5 seconds and starts over? I want to do more than that, but since I want to learn I need somewhere to start off. With this I at least will get a reference on how it works.
Thank you all for at least looking at the post, have a nice day.
I am new to this and want to get good, but for now I just need a code. Can anyone please create a code that when you press LT it hold for like 20 seconds, then lets go for 5 seconds and starts over? I want to do more than that, but since I want to learn I need somewhere to start off. With this I at least will get a reference on how it works.
Thank you all for at least looking at the post, have a nice day.
-
Peter1234 - Private
- Posts: 1
- Joined: Wed Sep 09, 2020 7:32 am
Re: Xbox One Holding LT
- Code: Select all
main {
if(is_active(BUTTON_8)) {
combo_run(HoldLT);
}
}
combo HoldLT {
set_val(BUTTON_8, 100);
wait(20000);
set_val(BUTTON_8, 0);
wait(40);
wait(5000);
}
There are more examples in the wiki: https://www.consoletuner.com/wiki/index ... _scripting
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 123 guests