How do I repeat/loop a script
4 posts
• Page 1 of 1
How do I repeat/loop a script
How do I repeat/loop a script I'm trying to avoid hooking my Titan one up to a computer and using gamerec
-
Rapture - Sergeant First Class
- Posts: 19
- Joined: Sat Feb 04, 2017 8:57 pm
Re: How do I repeat/loop a script
If you post the script here I can make it repeat with a toggle.
-
Buffy - Lieutenant
- Posts: 422
- Joined: Wed Jul 20, 2016 5:23 am
Re: How do I repeat/loop a script
Example on how implement a simple toggle to run a combo while the toggle is enabled.
- Code: Select all
int toggle;
main {
if(event_press(XB1_RS)) {
toggle = !toggle
}
if(toggle) {
combo_run(MyCombo);
}
}
combo MyCombo {
//
// COMBO CODE HERE
//
}
ConsoleTuner Support Team
-
J2Kbr - General of the Army
- Posts: 20323
- Joined: Tue Mar 18, 2014 1:39 pm
Re: How do I repeat/loop a script
Thanks a lot
-
Rapture - Sergeant First Class
- Posts: 19
- Joined: Sat Feb 04, 2017 8:57 pm
4 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 152 guests