Scripting Request (NewComer)
2 posts
• Page 1 of 1
Scripting Request (NewComer)
Hello I’m very new to scripting in the past week I’ve been trying to create a basic script that’s holds down a button for a timed period. For example I want to be able to hold down square/a for 3 seconds. Also could you explain how to adjust that time if possible. Thank you.
-
Heartbreaklewis - Private
- Posts: 1
- Joined: Tue Jun 15, 2021 1:49 pm
Re: Scripting Request (NewComer)
- Code: Select all
main {
if(event_active(BUTTON_17)) combo_run(myCombo);
}
combo myCombo {
set_val(BUTTON_17, 100);
wait(3000); // time in milliseconds
}
https://www.consoletuner.com/wiki/index ... examples_1
https://www.consoletuner.com/wiki/index ... _reference
ConsoleTuner Support Team || ConsoleTuner Discord || InputSense Discord (2K / FPS)
- Mad
- Major General
- Posts: 4533
- 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 134 guests