Scripting a timer that enacts a simple "left stick down"
5 posts
• Page 1 of 1
Scripting a timer that enacts a simple "left stick down"
On Xbox One S, I need a timer that can be adjusted in code and uses a trigger to initiate a countdown. At the 0.00 mark it would move the left stick straight down to 100% as fast as possible.
If someone were able to this I would verbally shower them with praise - here, in written form - and generate 10 minutes of uninterrupted, healing and energizing vibes to provide to you or a person of your choosing via directed thought.
If someone were able to this I would verbally shower them with praise - here, in written form - and generate 10 minutes of uninterrupted, healing and energizing vibes to provide to you or a person of your choosing via directed thought.
-
HagbardCeline - Sergeant First Class
- Posts: 25
- Joined: Fri Nov 14, 2014 1:32 am
Re: Scripting a timer that enacts a simple "left stick down"
You can do this with a combo, not sure what you wanted to activate it so i set it to right trigger.
- Code: Select all
main {
if(event_press(XB1_RT)) {
combo_run(ls_down);
}
}
combo ls_down {
wait(1000); // wait 1 second before left stick down
set_val(XB1_LY, 100);
wait(100); // time to hold left stick down for
}
ConsoleTuner Support Team || ConsoleTuner Discord || InputSense Discord
- Mad
- Major General
- Posts: 4536
- Joined: Wed May 22, 2019 5:39 am
Re: Scripting a timer that enacts a simple "left stick down"
This appears to work! Thank you very much for your excellence.
Where shall I send your vibes?
Where shall I send your vibes?
-
HagbardCeline - Sergeant First Class
- Posts: 25
- Joined: Fri Nov 14, 2014 1:32 am
Re: Scripting a timer that enacts a simple "left stick down"
HagbardCeline wrote:This appears to work! Thank you very much for your excellence.
Where shall I send your vibes?
No problem, You can send them to Buffy
ConsoleTuner Support Team || ConsoleTuner Discord || InputSense Discord
- Mad
- Major General
- Posts: 4536
- Joined: Wed May 22, 2019 5:39 am
Re: Scripting a timer that enacts a simple "left stick down"
I did this BTW. And we all think you are still incredibly awesome.
-
HagbardCeline - Sergeant First Class
- Posts: 25
- Joined: Fri Nov 14, 2014 1:32 am
5 posts
• Page 1 of 1
Return to GPC1 Script Programming
Who is online
Users browsing this forum: No registered users and 61 guests