Crouch run left to right request
6 posts
• Page 1 of 1
Crouch run left to right request
Im looking for a movement script for PUBG my aim is when im running LS/L3 i want to be able to crouch up and down as i move the analog left to right just to be harder to track. Has anyone got any ideas on this? Some of the top players do this all the time in game. Thanks in advance
-
Beryl - Sergeant Major of the Army
- Posts: 198
- Joined: Fri Nov 27, 2020 7:47 pm
Re: Crouch run left to right request
- Code: Select all
#include <xb1.gph>
main {
if(abs(get_actual(XB1_LX)) >= 60f) combo_run(crouch);
}
combo crouch {
set_val(XB1_B, 100);
wait(60);
set_val(XB1_B, 0);
wait(60);
}
ConsoleTuner Support Team || ConsoleTuner Discord || InputSense Discord
- Mad
- Major General
- Posts: 4536
- Joined: Wed May 22, 2019 5:39 am
Re: Crouch run left to right request
Thats brilliant! But could you add that L3 needs to be held aswell? Just as im now jumping out of cars when i press left or right?
I hold L3 when i run so if you could add with the stick movement that woyld be perfect!
I hold L3 when i run so if you could add with the stick movement that woyld be perfect!
-
Beryl - Sergeant Major of the Army
- Posts: 198
- Joined: Fri Nov 27, 2020 7:47 pm
Re: Crouch run left to right request
- Code: Select all
#include <xb1.gph>
main {
if(is_active(XB1_LS) && abs(get_actual(XB1_LX)) >= 60f) {
combo_run(crouch);
}
}
combo crouch {
set_val(XB1_B, 100);
wait(60);
set_val(XB1_B, 0);
}
ConsoleTuner Support Team || ConsoleTuner Discord || InputSense Discord
- Mad
- Major General
- Posts: 4536
- Joined: Wed May 22, 2019 5:39 am
Re: Crouch run left to right request
Thanks Mad! I tried myself but what ever id done i got an error of &&, will give yours a try when i get on. Thanks again for your help
-
Beryl - Sergeant Major of the Army
- Posts: 198
- Joined: Fri Nov 27, 2020 7:47 pm
Re: Crouch run left to right request
Thanks Mad id go as far to say this is probly 1 of the best scripts to use in the game. I think i asked once before but is there an idiots guide? Id love to improve my knowledge and try do some scripts myself iv so many ideas lol
-
Beryl - Sergeant Major of the Army
- Posts: 198
- Joined: Fri Nov 27, 2020 7:47 pm
6 posts
• Page 1 of 1
Return to GPC2 Script Programming
Who is online
Users browsing this forum: No registered users and 176 guests