Apex Legends: simple script to left slide & right slide?
6 posts
• Page 1 of 1
Apex Legends: simple script to left slide & right slide?
Not sure why but having trouble sliding left and right while playing apex legends for Xbox
Could someone help me to write a basic script and combo for the left and right slide ?
If ‘left’ is down & crouch is pushed run combo slide left
Same for the right side ?
Could someone help me to write a basic script and combo for the left and right slide ?
If ‘left’ is down & crouch is pushed run combo slide left
Same for the right side ?
-
teckx - Sergeant Major of the Army
- Posts: 194
- Joined: Tue Mar 27, 2018 1:53 pm
Re: Apex Legends: simple script to left slide & right slide?
I have something similar to what you are requesting in my personal Apex Legends script, it is very handy on gunfights, for example, while reloading this movement is perfect to avoid incoming shots.
Works like this: if the left stick is all the way to left or to right or to back, press the crouch button to slide to that direction (in my case the crouch button is R3).
Works like this: if the left stick is all the way to left or to right or to back, press the crouch button to slide to that direction (in my case the crouch button is R3).
- Code: Select all
main {
// Easy Slide
if(event_active(BUTTON_6)) {
if(abs(get_actual(STICK_2_X)) >= 90.0 || get_actual(STICK_2_Y) >= 90.0) {
combo_run(EasySlide);
}
}
if(EasySlide) {
set_val(BUTTON_6, 0.0);
set_val(BUTTON_8, 0.0);
}
}
combo EasySlide {
wait(64);
set_val(BUTTON_16, 100.0);
wait(32); wait(256);
set_val(BUTTON_16, 100.0);
wait(32); wait(32);
set_val(BUTTON_6, 100.0);
wait(32);
}
ConsoleTuner Support Team
-
J2Kbr - General of the Army
- Posts: 20323
- Joined: Tue Mar 18, 2014 1:39 pm
Re: Apex Legends: simple script to left slide & right slide?
J2Kbr wrote:I have something similar to what you are requesting in my personal Apex Legends script, it is very handy on gunfights, for example, while reloading this movement is perfect to avoid incoming shots.
Works like this: if the left stick is all the way to left or to right or to back, press the crouch button to slide to that direction (in my case the crouch button is R3).
- Code: Select all
main {
// Easy Slide
if(event_active(BUTTON_6)) {
if(abs(get_actual(STICK_2_X)) >= 90.0 || get_actual(STICK_2_Y) >= 90.0) {
combo_run(EasySlide);
}
}
if(EasySlide) {
set_val(BUTTON_6, 0.0);
set_val(BUTTON_8, 0.0);
}
}
combo EasySlide {
wait(64);
set_val(BUTTON_16, 100.0);
wait(32); wait(256);
set_val(BUTTON_16, 100.0);
wait(32); wait(32);
set_val(BUTTON_6, 100.0);
wait(32);
}
Thank you!
-
teckx - Sergeant Major of the Army
- Posts: 194
- Joined: Tue Mar 27, 2018 1:53 pm
Re: Apex Legends: simple script to left slide & right slide?
Im using M&KB HID Output
For some reason this isnt working.
Device monitor is reading the stick_2_x & y .
It works for others that arnt using m&kb
any help please
For some reason this isnt working.
Device monitor is reading the stick_2_x & y .
It works for others that arnt using m&kb
any help please
-
teckx - Sergeant Major of the Army
- Posts: 194
- Joined: Tue Mar 27, 2018 1:53 pm
Re: Apex Legends: simple script to left slide & right slide?
teckx wrote:Im using M&KB HID Output
For some reason this isnt working.
This is a controller script. It wont work for HID output.
ConsoleTuner Support Team || ConsoleTuner Discord || InputSense Discord (2K / FPS)
- Mad
- Major General
- Posts: 4532
- Joined: Wed May 22, 2019 5:39 am
Re: Apex Legends: simple script to left slide & right slide?
Mad wrote:teckx wrote:Im using M&KB HID Output
For some reason this isnt working.
This is a controller script. It wont work for HID output.
Wonder if I remove wasd from the input translator so they’re no longer associated with stick_2
Then map wasd in xim
-
teckx - Sergeant Major of the Army
- Posts: 194
- Joined: Tue Mar 27, 2018 1:53 pm
6 posts
• Page 1 of 1
Return to GPC2 Script Programming
Who is online
Users browsing this forum: No registered users and 80 guests