PDA

View Full Version : Ultra on both sides



Hambi
2nd January 16, 08:43
I have struggled for many hours again. I can make Seth generally spoken start combos on both sides. It works. But now the problem:
The ultra does not work on both sides.
Only Normals, Unique Attacks, Specials, FA, Dashes and the super does work on both sides!
Therefore I rewrite the combo block and change the horicontal directions.
The problem is, that the ultra does not work symmetric because ultra1 with changed directions makes ultra2! But in SSF4 you only can do one ultra at same time! All other moves work on both sides without problems. They are symmetric. The CPU does not understand that the ultra on the other side is not the other ultra! In that case taking Seth on the other side the super would come out instead of ultra2!
Maybe it is a Seth specific problem.

Who can help me? Where are the experts here?

KittyDawn
2nd January 16, 09:15
What's the problem? You need a different combo to run depending on what direction you are facing?

Hambi
2nd January 16, 09:58
Yes, I also had the idea before. But this way is not pretty and has disadvantages. Then two buttons for the same combo are gone.

KittyDawn
2nd January 16, 10:21
It's easy enough to do. Post your code.

Excalibur
2nd January 16, 14:09
Yes, I also had the idea before. But this way is not pretty and has disadvantages. Then two buttons for the same combo are gone.

Nope, you can use just one button to run combo in both sides.

Hambi
2nd January 16, 14:36
Seth Trial 15 works leftside:

// Script was generated with Script Manipulator ver. 11.9
// ___________________________________________________
// MAIN BLOCK
// Seth
// ___________________________________________________


int RIGHT;
int LEFT;
main {

if(event_press( PS3_L1 )){RIGHT=16;LEFT=15;combo_run(Seth_leftside);}
if(get_val(PS3_R1)) combo_stop(Seth_leftside);
}
// ___________________________________________________






// COMBO BLOCK





combo Seth_leftside {
// crLK + crLP + Hard Shoryuken + EX FADC + U2


set_val(PS3_DOWN, 100);
set_val(PS3_CROSS, 100);
wait(20);
set_val(PS3_DOWN, 0);
set_val(PS3_CROSS, 0);
wait(325);


set_val(PS3_DOWN, 100);
set_val(PS3_SQUARE, 100);
wait(20);
set_val(PS3_DOWN, 0);
set_val(PS3_SQUARE, 0);
wait(200);


set_val(PS3_RIGHT, 100);
wait(20);
set_val(PS3_DOWN, 100);
set_val(PS3_RIGHT, 100);
wait(20);
set_val(PS3_DOWN, 100);
set_val(PS3_RIGHT, 0);
wait(20);
set_val(PS3_DOWN, 100);
set_val(PS3_RIGHT, 100);
wait(20);
set_val(PS3_DOWN, 0);
set_val(PS3_RIGHT, 100);
set_val(PS3_R1, 100);
wait(20);
set_val(PS3_RIGHT, 0);
set_val(PS3_R1, 0);
wait(300);


set_val(PS3_TRIANGLE, 100);
set_val(PS3_CIRCLE, 100);
wait(20);
set_val(PS3_TRIANGLE, 0);
set_val(PS3_CIRCLE, 0);
wait(50);


set_val(PS3_RIGHT, 100);
wait(20);
set_val(PS3_RIGHT, 0);
wait(20);
set_val(PS3_RIGHT, 100);
wait(20);
set_val(PS3_RIGHT, 0);
wait(300);


set_val(PS3_DOWN, 100);
wait(20);
set_val(PS3_DOWN, 100);
set_val(PS3_LEFT, 100);
wait(20);
set_val(PS3_DOWN, 0);
set_val(PS3_LEFT, 100);
wait(20);
set_val(PS3_LEFT, 0);
set_val(PS3_DOWN, 100);
wait(20);
set_val(PS3_DOWN, 100);
set_val(PS3_LEFT, 100);
wait(20);
set_val(PS3_DOWN, 0);
set_val(PS3_LEFT, 100);
set_val(PS3_SQUARE, 100);
set_val(PS3_TRIANGLE, 100);
set_val(PS3_R1, 100);
wait(20);
set_val(PS3_LEFT, 0);
set_val(PS3_L1, 0);
}



Seth Trial 15 variation with U1 instead U2 works bothside (but doesn't make sense because U1 whiffing):

// Script was generated with Script Manipulator ver. 11.9
// ___________________________________________________
// MAIN BLOCK
// Seth
// ___________________________________________________


int RIGHT;
int LEFT;
main {

if(get_val(11) >20 || get_val(16)){RIGHT=16;LEFT=15;}
if(get_val(11) <-20 || get_val(15)){RIGHT=15;LEFT=16;}


if(event_press( PS3_L1 )){RIGHT=16;LEFT=15;combo_run(Seth_leftside);}
if(event_press( PS3_L1 )){RIGHT=15;combo_run(Seth_rightside);}


if(get_val(PS3_R1)) combo_stop(Seth_leftside);
if(get_val(PS3_R1)) combo_stop(Seth_rightside);
}
// ___________________________________________________






// COMBO BLOCK





combo Seth_leftside {
// crLK + crLP + Hard Shoryuken + EX FADC + U1


set_val(PS3_DOWN, 100);
set_val(PS3_CROSS, 100);
wait(20);
set_val(PS3_DOWN, 0);
set_val(PS3_CROSS, 0);
wait(325);


set_val(PS3_DOWN, 100);
set_val(PS3_SQUARE, 100);
wait(20);
set_val(PS3_DOWN, 0);
set_val(PS3_SQUARE, 0);
wait(200);


set_val(PS3_RIGHT, 100);
wait(20);
set_val(PS3_DOWN, 100);
set_val(PS3_RIGHT, 100);
wait(20);
set_val(PS3_DOWN, 100);
set_val(PS3_RIGHT, 0);
wait(20);
set_val(PS3_DOWN, 100);
set_val(PS3_RIGHT, 100);
wait(20);
set_val(PS3_DOWN, 0);
set_val(PS3_RIGHT, 100);
set_val(PS3_R1, 100);
wait(20);
set_val(PS3_RIGHT, 0);
set_val(PS3_R1, 0);
wait(300);


set_val(PS3_TRIANGLE, 100);
set_val(PS3_CIRCLE, 100);
wait(20);
set_val(PS3_TRIANGLE, 0);
set_val(PS3_CIRCLE, 0);
wait(50);


set_val(PS3_RIGHT, 100);
wait(20);
set_val(PS3_RIGHT, 0);
wait(20);
set_val(PS3_RIGHT, 100);
wait(20);
set_val(PS3_RIGHT, 0);
wait(300);


set_val(PS3_DOWN, 100);
wait(20);
set_val(PS3_DOWN, 100);
set_val(PS3_RIGHT, 100);
wait(20);
set_val(PS3_DOWN, 0);
set_val(PS3_RIGHT, 100);
wait(20);
set_val(PS3_RIGHT, 0);
set_val(PS3_DOWN, 100);
wait(20);
set_val(PS3_DOWN, 100);
set_val(PS3_RIGHT, 100);
wait(20);
set_val(PS3_DOWN, 0);
set_val(PS3_RIGHT, 100);
set_val(PS3_SQUARE, 100);
set_val(PS3_TRIANGLE, 100);
set_val(PS3_R1, 100);
wait(20);
set_val(PS3_RIGHT, 0);
set_val(PS3_L1, 0);
}


combo Seth_rightside {
// crLK + crLP + Hard Shoryuken + EX FADC + U1


set_val(PS3_DOWN, 100);
set_val(PS3_CROSS, 100);
wait(20);
set_val(PS3_DOWN, 0);
set_val(PS3_CROSS, 0);
wait(325);


set_val(PS3_DOWN, 100);
set_val(PS3_SQUARE, 100);
wait(20);
set_val(PS3_DOWN, 0);
set_val(PS3_SQUARE, 0);
wait(200);


set_val(PS3_LEFT, 100);
wait(20);
set_val(PS3_DOWN, 100);
set_val(PS3_LEFT, 100);
wait(20);
set_val(PS3_DOWN, 100);
set_val(PS3_LEFT, 0);
wait(20);
set_val(PS3_DOWN, 100);
set_val(PS3_LEFT, 100);
wait(20);
set_val(PS3_DOWN, 0);
set_val(PS3_LEFT, 100);
set_val(PS3_R1, 100);
wait(20);
set_val(PS3_LEFT, 0);
set_val(PS3_R1, 0);
wait(300);


set_val(PS3_TRIANGLE, 100);
set_val(PS3_CIRCLE, 100);
wait(20);
set_val(PS3_TRIANGLE, 0);
set_val(PS3_CIRCLE, 0);
wait(50);


set_val(PS3_LEFT, 100);
wait(20);
set_val(PS3_LEFT, 0);
wait(20);
set_val(PS3_LEFT, 100);
wait(20);
set_val(PS3_LEFT, 0);
wait(300);


set_val(PS3_DOWN, 100);
wait(20);
set_val(PS3_DOWN, 100);
set_val(PS3_LEFT, 100);
wait(20);
set_val(PS3_DOWN, 0);
set_val(PS3_LEFT, 100);
wait(20);
set_val(PS3_LEFT, 0);
set_val(PS3_DOWN, 100);
wait(20);
set_val(PS3_DOWN, 100);
set_val(PS3_LEFT, 100);
wait(20);
set_val(PS3_DOWN, 0);
set_val(PS3_LEFT, 100);
set_val(PS3_SQUARE, 100);
set_val(PS3_TRIANGLE, 100);
set_val(PS3_R1, 100);
wait(20);
set_val(PS3_LEFT, 0);
set_val(PS3_L1, 0);
}


Seth Trial 15 does not work bothside (neither on the one side nor the other side U2 comes out):

// Script was generated with Script Manipulator ver. 11.9
// ___________________________________________________
// MAIN BLOCK
// Seth
// ___________________________________________________


int RIGHT;
int LEFT;
main {

if(get_val(11) >20 || get_val(16)){RIGHT=16;LEFT=15;}
if(get_val(11) <-20 || get_val(15)){RIGHT=15;LEFT=16;}


if(event_press( PS3_L1 )){RIGHT=16;LEFT=15;combo_run(Seth_leftside);}
if(event_press( PS3_L1 )){RIGHT=15;combo_run(Seth_rightside);}


if(get_val(PS3_R1)) combo_stop(Seth_leftside);
if(get_val(PS3_R1)) combo_stop(Seth_rightside);
}
// ___________________________________________________






// COMBO BLOCK





combo Seth_leftside {
// crLK + crLP + Hard Shoryuken + EX FADC + U2


set_val(PS3_DOWN, 100);
set_val(PS3_CROSS, 100);
wait(20);
set_val(PS3_DOWN, 0);
set_val(PS3_CROSS, 0);
wait(325);


set_val(PS3_DOWN, 100);
set_val(PS3_SQUARE, 100);
wait(20);
set_val(PS3_DOWN, 0);
set_val(PS3_SQUARE, 0);
wait(200);


set_val(PS3_RIGHT, 100);
wait(20);
set_val(PS3_DOWN, 100);
set_val(PS3_RIGHT, 100);
wait(20);
set_val(PS3_DOWN, 100);
set_val(PS3_RIGHT, 0);
wait(20);
set_val(PS3_DOWN, 100);
set_val(PS3_RIGHT, 100);
wait(20);
set_val(PS3_DOWN, 0);
set_val(PS3_RIGHT, 100);
set_val(PS3_R1, 100);
wait(20);
set_val(PS3_RIGHT, 0);
set_val(PS3_R1, 0);
wait(300);


set_val(PS3_TRIANGLE, 100);
set_val(PS3_CIRCLE, 100);
wait(20);
set_val(PS3_TRIANGLE, 0);
set_val(PS3_CIRCLE, 0);
wait(50);


set_val(PS3_RIGHT, 100);
wait(20);
set_val(PS3_RIGHT, 0);
wait(20);
set_val(PS3_RIGHT, 100);
wait(20);
set_val(PS3_RIGHT, 0);
wait(300);


set_val(PS3_DOWN, 100);
wait(20);
set_val(PS3_DOWN, 100);
set_val(PS3_LEFT, 100);
wait(20);
set_val(PS3_DOWN, 0);
set_val(PS3_LEFT, 100);
wait(20);
set_val(PS3_LEFT, 0);
set_val(PS3_DOWN, 100);
wait(20);
set_val(PS3_DOWN, 100);
set_val(PS3_LEFT, 100);
wait(20);
set_val(PS3_DOWN, 0);
set_val(PS3_LEFT, 100);
set_val(PS3_SQUARE, 100);
set_val(PS3_TRIANGLE, 100);
set_val(PS3_R1, 100);
wait(20);
set_val(PS3_LEFT, 0);
set_val(PS3_L1, 0);
}


combo Seth_rightside {
// crLK + crLP + Hard Shoryuken + EX FADC + U2


set_val(PS3_DOWN, 100);
set_val(PS3_CROSS, 100);
wait(20);
set_val(PS3_DOWN, 0);
set_val(PS3_CROSS, 0);
wait(325);


set_val(PS3_DOWN, 100);
set_val(PS3_SQUARE, 100);
wait(20);
set_val(PS3_DOWN, 0);
set_val(PS3_SQUARE, 0);
wait(200);


set_val(PS3_LEFT, 100);
wait(20);
set_val(PS3_DOWN, 100);
set_val(PS3_LEFT, 100);
wait(20);
set_val(PS3_DOWN, 100);
set_val(PS3_LEFT, 0);
wait(20);
set_val(PS3_DOWN, 100);
set_val(PS3_LEFT, 100);
wait(20);
set_val(PS3_DOWN, 0);
set_val(PS3_LEFT, 100);
set_val(PS3_R1, 100);
wait(20);
set_val(PS3_LEFT, 0);
set_val(PS3_R1, 0);
wait(300);


set_val(PS3_TRIANGLE, 100);
set_val(PS3_CIRCLE, 100);
wait(20);
set_val(PS3_TRIANGLE, 0);
set_val(PS3_CIRCLE, 0);
wait(50);


set_val(PS3_LEFT, 100);
wait(20);
set_val(PS3_LEFT, 0);
wait(20);
set_val(PS3_LEFT, 100);
wait(20);
set_val(PS3_LEFT, 0);
wait(300);


set_val(PS3_DOWN, 100);
wait(20);
set_val(PS3_DOWN, 100);
set_val(PS3_RIGHT, 100);
wait(20);
set_val(PS3_DOWN, 0);
set_val(PS3_RIGHT, 100);
wait(20);
set_val(PS3_RIGHT, 0);
set_val(PS3_DOWN, 100);
wait(20);
set_val(PS3_DOWN, 100);
set_val(PS3_RIGHT, 100);
wait(20);
set_val(PS3_DOWN, 0);
set_val(PS3_RIGHT, 100);
set_val(PS3_SQUARE, 100);
set_val(PS3_TRIANGLE, 100);
set_val(PS3_R1, 100);
wait(20);
set_val(PS3_RIGHT, 0);
set_val(PS3_L1, 0);
}


:facepalm:

KittyDawn
2nd January 16, 15:01
This;

if(event_press( PS3_L1 )){RIGHT=16;LEFT=15;combo_run(Seth_leftside);}


if(event_press( PS3_L1 )){RIGHT=15;combo_run(Seth_rightside);}





if(get_val(PS3_R1)) combo_stop(Seth_leftside);

if(get_val(PS3_R1)) combo_stop(Seth_rightside);


is conflicting code.

Also instead of using PS3_RIGHT and PS3_LEFT, use the variable LEFT and RIGHT. So set_val(RIGHT, 100); instead of set_val(PS3_RIGHT,100);

Hambi
3rd January 16, 05:03
No, it does not work. Now the failure is even worse! Maybe I am too silly for that...

Seth Trial 15 works leftside but not rightside:

// Script was generated with Script Manipulator ver. 11.9
// ___________________________________________________
// MAIN BLOCK
// Seth
// ___________________________________________________


int RIGHT;
int LEFT;
main {
if(get_val(11) >20 || get_val(16)){RIGHT=16;LEFT=15;}
if(get_val(11) <-20 || get_val(15)){RIGHT=15;LEFT=16;}


if(event_press( PS3_L1 )){RIGHT=16;LEFT=15;combo_run(Seth_leftside);}
if(get_val(PS3_R1)) combo_stop(Seth_leftside);
}
// ___________________________________________________






// COMBO BLOCK





combo Seth_leftside {
// crLK + crLP + Hard Shoryuken + EX FADC + U2


set_val(PS3_DOWN, 100);
set_val(PS3_CROSS, 100);
wait(20);
set_val(PS3_DOWN, 0);
set_val(PS3_CROSS, 0);
wait(325);


set_val(PS3_DOWN, 100);
set_val(PS3_SQUARE, 100);
wait(20);
set_val(PS3_DOWN, 0);
set_val(PS3_SQUARE, 0);
wait(200);


set_val(RIGHT, 100);
wait(20);
set_val(PS3_DOWN, 100);
set_val(RIGHT, 100);
wait(20);
set_val(PS3_DOWN, 100);
set_val(RIGHT, 0);
wait(20);
set_val(PS3_DOWN, 100);
set_val(RIGHT, 100);
wait(20);
set_val(PS3_DOWN, 0);
set_val(RIGHT, 100);
set_val(PS3_R1, 100);
wait(20);
set_val(RIGHT, 0);
set_val(PS3_R1, 0);
wait(300);


set_val(PS3_TRIANGLE, 100);
set_val(PS3_CIRCLE, 100);
wait(20);
set_val(PS3_TRIANGLE, 0);
set_val(PS3_CIRCLE, 0);
wait(50);


set_val(RIGHT, 100);
wait(20);
set_val(RIGHT, 0);
wait(20);
set_val(RIGHT, 100);
wait(20);
set_val(RIGHT, 0);
wait(300);


set_val(PS3_DOWN, 100);
wait(20);
set_val(PS3_DOWN, 100);
set_val(LEFT, 100);
wait(20);
set_val(PS3_DOWN, 0);
set_val(LEFT, 100);
wait(20);
set_val(LEFT, 0);
set_val(PS3_DOWN, 100);
wait(20);
set_val(PS3_DOWN, 100);
set_val(LEFT, 100);
wait(20);
set_val(PS3_DOWN, 0);
set_val(LEFT, 100);
set_val(PS3_SQUARE, 100);
set_val(PS3_TRIANGLE, 100);
set_val(PS3_R1, 100);
wait(20);
set_val(LEFT, 0);
set_val(PS3_L1, 0);
}


Seth Trial 15 bothside does not work at all:

// Script was generated with Script Manipulator ver. 11.9
// ___________________________________________________
// MAIN BLOCK
// Seth
// ___________________________________________________


int RIGHT;
int LEFT;
main {

if(get_val(11) >20 || get_val(16)){RIGHT=16;LEFT=15;}
if(get_val(11) <-20 || get_val(15)){RIGHT=15;LEFT=16;}


if(event_press( PS3_L1 )){RIGHT=16;LEFT=15;combo_run(Seth_leftside);}
if(event_press( PS3_L1 )){RIGHT=15;combo_run(Seth_rightside);}


if(get_val(PS3_R1)) combo_stop(Seth_leftside);
if(get_val(PS3_R1)) combo_stop(Seth_rightside);
}
// ___________________________________________________






// COMBO BLOCK





combo Seth_leftside {
// crLK + crLP + Hard Shoryuken + EX FADC + U2


set_val(PS3_DOWN, 100);
set_val(PS3_CROSS, 100);
wait(20);
set_val(PS3_DOWN, 0);
set_val(PS3_CROSS, 0);
wait(325);


set_val(PS3_DOWN, 100);
set_val(PS3_SQUARE, 100);
wait(20);
set_val(PS3_DOWN, 0);
set_val(PS3_SQUARE, 0);
wait(200);


set_val(RIGHT, 100);
wait(20);
set_val(PS3_DOWN, 100);
set_val(RIGHT, 100);
wait(20);
set_val(PS3_DOWN, 100);
set_val(RIGHT, 0);
wait(20);
set_val(PS3_DOWN, 100);
set_val(RIGHT, 100);
wait(20);
set_val(PS3_DOWN, 0);
set_val(RIGHT, 100);
set_val(PS3_R1, 100);
wait(20);
set_val(RIGHT, 0);
set_val(PS3_R1, 0);
wait(300);


set_val(PS3_TRIANGLE, 100);
set_val(PS3_CIRCLE, 100);
wait(20);
set_val(PS3_TRIANGLE, 0);
set_val(PS3_CIRCLE, 0);
wait(50);


set_val(RIGHT, 100);
wait(20);
set_val(RIGHT, 0);
wait(20);
set_val(RIGHT, 100);
wait(20);
set_val(RIGHT, 0);
wait(300);


set_val(PS3_DOWN, 100);
wait(20);
set_val(PS3_DOWN, 100);
set_val(LEFT, 100);
wait(20);
set_val(PS3_DOWN, 0);
set_val(LEFT, 100);
wait(20);
set_val(LEFT, 0);
set_val(PS3_DOWN, 100);
wait(20);
set_val(PS3_DOWN, 100);
set_val(LEFT, 100);
wait(20);
set_val(PS3_DOWN, 0);
set_val(LEFT, 100);
set_val(PS3_SQUARE, 100);
set_val(PS3_TRIANGLE, 100);
set_val(PS3_R1, 100);
wait(20);
set_val(LEFT, 0);
set_val(PS3_L1, 0);
}


combo Seth_rightside {
// crLK + crLP + Hard Shoryuken + EX FADC + U2


set_val(PS3_DOWN, 100);
set_val(PS3_CROSS, 100);
wait(20);
set_val(PS3_DOWN, 0);
set_val(PS3_CROSS, 0);
wait(325);


set_val(PS3_DOWN, 100);
set_val(PS3_SQUARE, 100);
wait(20);
set_val(PS3_DOWN, 0);
set_val(PS3_SQUARE, 0);
wait(200);


set_val(LEFT, 100);
wait(20);
set_val(PS3_DOWN, 100);
set_val(LEFT, 100);
wait(20);
set_val(PS3_DOWN, 100);
set_val(LEFT, 0);
wait(20);
set_val(PS3_DOWN, 100);
set_val(LEFT, 100);
wait(20);
set_val(PS3_DOWN, 0);
set_val(LEFT, 100);
set_val(PS3_R1, 100);
wait(20);
set_val(LEFT, 0);
set_val(PS3_R1, 0);
wait(300);


set_val(PS3_TRIANGLE, 100);
set_val(PS3_CIRCLE, 100);
wait(20);
set_val(PS3_TRIANGLE, 0);
set_val(PS3_CIRCLE, 0);
wait(50);


set_val(LEFT, 100);
wait(20);
set_val(LEFT, 0);
wait(20);
set_val(LEFT, 100);
wait(20);
set_val(LEFT, 0);
wait(300);


set_val(PS3_DOWN, 100);
wait(20);
set_val(PS3_DOWN, 100);
set_val(RIGHT, 100);
wait(20);
set_val(PS3_DOWN, 0);
set_val(RIGHT, 100);
wait(20);
set_val(RIGHT, 0);
set_val(PS3_DOWN, 100);
wait(20);
set_val(PS3_DOWN, 100);
set_val(RIGHT, 100);
wait(20);
set_val(PS3_DOWN, 0);
set_val(RIGHT, 100);
set_val(PS3_SQUARE, 100);
set_val(PS3_TRIANGLE, 100);
set_val(PS3_R1, 100);
wait(20);
set_val(RIGHT, 0);
set_val(PS3_L1, 0);
}


I have done as you wrote. I have changed all PS3_LEFT and RIGHT into LEFT and RIGHT in combo block.
:facepalm:

KittyDawn
3rd January 16, 05:57
Please wrap your text with [ GPC ] and [ /GPC ] (Remove the spaces)

Also, read my first point about the conflicting code.

if(event_press( PS3_L1 )){RIGHT=16;LEFT=15;combo_run(Seth_leftside);}
if(event_press( PS3_L1 )){RIGHT=15;combo_run(Seth_rightside);}


if(get_val(PS3_R1)) combo_stop(Seth_leftside);
if(get_val(PS3_R1)) combo_stop(Seth_rightside);

That's why your combos aren't working, you are breaking them before they even start.

Remove those lines and replace them with;

if(event_press(6)){
if(combo_running(Seth_rightside){
combo_stop(Seth_rightside);
} else {
combo_run(Seth_rightside);
}
}

Hambi
3rd January 16, 08:47
Conflict means when Seth_leftside is running Seth_rightside has to be stopped and when Seth_rightside is running Seth_leftside has to be stopped. I must prevent running both scripts at same time. Is that right? But how to write I absolutely nothing understand. I have tried that 100 times in all variations but always a syntax error comes :crazy:!
That's what I wrote:


int RIGHT;
int LEFT;
main {
if(get_val(11) >20 || get_val(16)){RIGHT=16;LEFT=15;}
if(get_val(11) <-20 || get_val(15)){RIGHT=15;LEFT=16;}
if(event_press( PS3_L1 )){RIGHT=16;LEFT=15;combo_run(Seth_leftside);}
if(combo_running(Seth_rightside){
combo_stop(Seth_rightside);
} else {
combo_run(Seth_rightside);
}
}
}

Or that. Also does not work:

int RIGHT;
int LEFT;
main {
if(get_val(11) >20 || get_val(16)){RIGHT=16;LEFT=15;}
if(get_val(11) <-20 || get_val(15)){RIGHT=15;LEFT=16;}
if(event_press(6)){
if(combo_running(Seth_rightside){
combo_stop(Seth_rightside);
} else {
combo_run(Seth_rightside);
}
}
}


What means event_press(6)??

KittyDawn
3rd January 16, 09:52
As you are asking what 6 is, I'm guessing you have no idea what this code does either;

if(get_val(11) >20 || get_val(16)){RIGHT=16;LEFT=15;}
if(get_val(11) <-20 || get_val(15)){RIGHT=15;LEFT=16;}

Which is why your combo's are coded incorrectly.

Look at this page, it explains identifiers - http://cronusmax.com/manual/#i_o_functions.htm

You only need one combo as well. Code one combo to work when you are on the left side of the screen using the variables for left and right. When you are on the other side, the code will adjust.

Hambi
3rd January 16, 11:53
Now I have understood how variables work and that one combo script is enough. The microcontroller will automatically search for the other side and rewrite the variables.

choosing Script Manipulator in "Change Directions-Switch Sides"
then "Add variable"
then "Find and Replace..."
then "Combo Name"
then "One Button"
then "Start to the RIGHT"
then "Start Combo"
then "Stop combo"


Here is the originally machine done script code:


int RIGHT;
int LEFT;
if(event_press( PS3_L1 )){RIGHT=16;LEFT=15;combo_run(Seth15);}
if(get_val(11) >20 || get_val(16)){RIGHT=16;LEFT=15;}
if(get_val(11) <-20 || get_val(15)){RIGHT=15;LEFT=16;}
if(event_press( PS3_L1 )){combo_run(Seth15);}
if (get_val(PS3_R1)){combo_stop(Seth15);} // This stops the combo


Completing the main it becomes:

i
int RIGHT;
int LEFT;
main {
if(event_press( PS3_L1 )){RIGHT=16;LEFT=15;combo_run(Seth15);}
if(get_val(11) >20 || get_val(16)){RIGHT=16;LEFT=15;}
if(get_val(11) <-20 || get_val(15)){RIGHT=15;LEFT=16;}
if(event_press( PS3_L1 )){combo_run(Seth15);}
if (get_val(PS3_R1)){combo_stop(Seth15);} // This stops the combo
}



Does not work bothside.
Maybe I am just too silly for programming... I have exactly done what Script Manipulator says and the syntax is also not wrong! Why doesn`t it work??

KittyDawn
3rd January 16, 12:00
if(event_press( PS3_L1 )){RIGHT=16;LEFT=15;combo_run(Seth15);} //This is wrong
if(get_val(11) >20 || get_val(16)){RIGHT=16;LEFT=15;}
if(get_val(11) <-20 || get_val(15)){RIGHT=15;LEFT=16;}
if(event_press( PS3_L1 )){combo_run(Seth15);} //This confilcts with the first line
if (get_val(PS3_R1)){combo_stop(Seth15);} // This confilcts with lines 1 and 4


//Use this as your main

main{

if(get_val(11) >20 || get_val(16)){
RIGHT=16;
LEFT=15;
}
if(get_val(11) <-20 || get_val(15)){
RIGHT=15;LEFT=16;
}
if(event_press(6)){
if(combo_running(Seth15)){
combo_stop(Seth15):
} else {
combo_run(Seth15);
}
}
}

Hambi
3rd January 16, 12:09
A wonder :wink::):redface: happened!!! Thank you KittyDawn!