MKX Script
10 posts
• Page 1 of 1
MKX Script
Hi im new im just wondering if someone could help me make a macro for instant air fireball Up Back foward Square im a little lost on how to create a script
-
ViciousXlV - First Sergeant
- Posts: 52
- Joined: Mon Mar 11, 2019 9:16 am
Re: MKX Script
Welcome to our forums.
What you is requesting is relatively easy to implement. Please let us know what button you want use to trigger this combo.
Alternatively you can use the Combo Magick plugin to generate the combo sequence, as explained here:
viewtopic.php?f=18&t=5873&p=43523
What you is requesting is relatively easy to implement. Please let us know what button you want use to trigger this combo.
Alternatively you can use the Combo Magick plugin to generate the combo sequence, as explained here:
viewtopic.php?f=18&t=5873&p=43523
ConsoleTuner Support Team
-
J2Kbr - General of the Army
- Posts: 20323
- Joined: Tue Mar 18, 2014 1:39 pm
Re: MKX Script
Hello, thank you for respond the button for this command is Up on the D pad Then Back Foward Square But i would like it to come out Instantly as soon as i leave the ground. Thank You
-
ViciousXlV - First Sergeant
- Posts: 52
- Joined: Mon Mar 11, 2019 9:16 am
Re: MKX Script
Also i would like to use R3
-
ViciousXlV - First Sergeant
- Posts: 52
- Joined: Mon Mar 11, 2019 9:16 am
Re: MKX Script
Please test the script below (for character on the left side).
- Code: Select all
main {
if(event_press(PS4_R3)) {
combo_run(MKX_LeftSide);
}
}
combo MKX_LeftSide {
// Up on the D pad
set_val(PS4_UP, 100);
wait(40);
// Then Back
set_val(PS4_LEFT, 100);
wait(40);
// Foward
set_val(PS4_RIGHT, 100);
wait(40);
// Square
set_val(PS4_RIGHT, 100);
set_val(PS4_SQUARE, 100);
wait(40);
}
ConsoleTuner Support Team
-
J2Kbr - General of the Army
- Posts: 20323
- Joined: Tue Mar 18, 2014 1:39 pm
Re: MKX Script
yes works great on the left side thank you now i just need it for the right side
-
ViciousXlV - First Sergeant
- Posts: 52
- Joined: Mon Mar 11, 2019 9:16 am
Re: MKX Script
could i just below this script copy and paste and do right left instead of left right? im confused cause i want it to work on both sides
-
ViciousXlV - First Sergeant
- Posts: 52
- Joined: Mon Mar 11, 2019 9:16 am
Re: MKX Script
I changed the script so it can work on both sides (left/right).
Just be sure to move in direction of the opponent before start the combo.
Just be sure to move in direction of the opponent before start the combo.
- Code: Select all
int FORWARD = PS4_RIGHT;
int BACK = PS4_LEFT;
main {
if(get_val(PS4_RIGHT) || get_val(PS4_LX) >= 30) {
BACK = PS4_LEFT;
FORWARD = PS4_RIGHT;
} else if(get_val(PS4_LEFT) || get_val(PS4_LX) <= -30) {
BACK = PS4_RIGHT;
FORWARD = PS4_LEFT;
}
if(event_press(PS4_R3)) {
combo_run(MKX_LeftSide);
}
}
combo MKX_LeftSide {
// Up on the D pad
set_val(PS4_UP, 100);
wait(40);
// Then Back
set_val(BACK, 100);
wait(40);
// Foward
set_val(FORWARD, 100);
wait(40);
// Square
set_val(FORWARD, 100);
set_val(PS4_SQUARE, 100);
wait(40);
}
ConsoleTuner Support Team
-
J2Kbr - General of the Army
- Posts: 20323
- Joined: Tue Mar 18, 2014 1:39 pm
Re: MKX Script
right side is great but on the left its not at consistant is there a way so I onlyhave to press it button for it to work on the rightside? I want it r2 for the right side
-
ViciousXlV - First Sergeant
- Posts: 52
- Joined: Mon Mar 11, 2019 9:16 am
Re: MKX Script
With other button for the left side makes easy:
- Code: Select all
int BACK = PS4_LEFT;
int FORWARD = PS4_RIGHT;
main {
if(!combo_running(MKX_Combo)) {
if(event_press(PS4_R3)) {
BACK = PS4_LEFT;
FORWARD = PS4_RIGHT;
combo_run(MKX_Combo);
}
if(event_press(PS4_R2)) {
BACK = PS4_RIGHT;
FORWARD = PS4_LEFT;
combo_run(MKX_Combo);
}
}
}
combo MKX_Combo {
// Up on the D pad
set_val(PS4_UP, 100);
wait(40);
// Then Back
set_val(BACK, 100);
wait(40);
// Foward
set_val(FORWARD, 100);
wait(40);
// Square
set_val(FORWARD, 100);
set_val(PS4_SQUARE, 100);
wait(40);
}
ConsoleTuner Support Team
-
J2Kbr - General of the Army
- Posts: 20323
- Joined: Tue Mar 18, 2014 1:39 pm
10 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 121 guests