Gears 5 limited script
3 posts
• Page 1 of 1
Gears 5 limited script
- Code: Select all
main {
// Rapid Fire Toggle
// D-Pad Left or D-Pad Right sets the toggle to false,
// D-Pad Down sets the toggle to true.
if(event_press(XB1_LEFT) || event_press(XB1_RIGHT)) rfToggle = FALSE;
else if(get_val(XB1_DOWN)) rfToggle = TRUE;
// Active Reload Toggle
// D-Pad Down or D-Pad Right sets the toggle to false,
// D-Pad Left sets the toggle to true.
if(event_press(XB1_DOWN) || event_press(XB1_RIGHT)) arToggle = FALSE;
if(event_press(XB1_LEFT)) arToggle = TRUE;
// If the left trigger is being held down then repeatedly press
// the left stick.
if(get_val(XB1_LT)) combo_run(TurboLS);
// This waits for the release of RB and when that takes place runs
// the combo for Active Reload only if the toggle is set to true.
if(event_release(XB1_RB) && arToggle == TRUE) combo_run(ActiveReload);
// Checks to see if right trigger is being held down, and if it is being
// held is the toggle for rapid fire set to true. If so then run the combo.
if(get_val(XB1_RT) && rfToggle == TRUE) combo_run(RapidFire);
}
// Combo to repeatedly press left stick.
combo TurboLS {
set_val(XB1_LS, 100);
wait(32);
set_val(XB1_LS, 0);
wait(32);
}
// Combo for active reload.
// Starts with the wait since RB has already been pressed once.
// This way it waits proper amount of time before second press.
combo ActiveReload {
wait(1000); // Wait time before taping rb the second time.
set_val(XB1_RB, 100);
wait(180); // How long to hold rb for.
set_val(XB1_RB, 0);
}
// Combo for rapid fire
combo RapidFire {
set_val(XB1_RT, 100);
wait(20); // Time trigger is held
set_val(XB1_RT, 0);
wait(40); // Time between shots
}
-
srbtattoo - Sergeant Major
- Posts: 72
- Joined: Wed Apr 15, 2015 10:50 pm
Re: Gears 5 limited script
its perfect ative relload on shotgun and rapid on pistol also it has auto spot
-
srbtattoo - Sergeant Major
- Posts: 72
- Joined: Wed Apr 15, 2015 10:50 pm
3 posts
• Page 1 of 1
Who is online
Users browsing this forum: chuless and 142 guests