Results 1 to 8 of 8

Topic: script help: need help with something.

  1. #1
    Fastest Thing Alive

    User Info Menu

    script help: need help with something.

    Hey. I have this current script for MKXL.
    Code:
    set_val(PS4_DOWN, 100);	wait(20);
    	set_val(PS4_DOWN, 0);
    	wait(20);
    	set_val(PS4_RIGHT, 100);
    	wait(20);
    	set_val(PS4_RIGHT, 0);
    	set_val(PS4_SQUARE, 100);
    	wait(20);
    	set_val(PS4_SQUARE, 0);
    	wait(20);
    	set_val(PS4_LEFT, 100);
    	wait(20);
    	set_val(PS4_LEFT, 0);
    My problem is, it's getting executed when I press the paddle of my back. But I wanna executed while I hold dpad down, so what obviously is gonna happen, while I'm holding down a few extra inputs get inbetween the script which causes it not to work. So, is there any way that while I press the paddle that every other input is ignored? That way I can hold down the whole time without getting inputs inbetween.

    Would appreciate the help alot..

  2. #2
    Forum Staff

    User Info Menu

    Re: script help: need help with something.

    Quote Originally Posted by d33py_ View Post
    Hey. I have this current script for MKXL.
    Code:
    set_val(PS4_DOWN, 100);    wait(20);
        set_val(PS4_DOWN, 0);
        wait(20);
        set_val(PS4_RIGHT, 100);
        wait(20);
        set_val(PS4_RIGHT, 0);
        set_val(PS4_SQUARE, 100);
        wait(20);
        set_val(PS4_SQUARE, 0);
        wait(20);
        set_val(PS4_LEFT, 100);
        wait(20);
        set_val(PS4_LEFT, 0);
    My problem is, it's getting executed when I press the paddle of my back. But I wanna executed while I hold dpad down, so what obviously is gonna happen, while I'm holding down a few extra inputs get inbetween the script which causes it not to work. So, is there any way that while I press the paddle that every other input is ignored? That way I can hold down the whole time without getting inputs inbetween.

    Would appreciate the help alot..

    http://cronusmax.com/forums/showthre...ton-is-pressed

    http://cronusmax.com/forums/showthre...i-button-Combo

  3. #3
    Bulgaria's foremost expert on everything CM related!

    User Info Menu

    Re: script help: need help with something.

    Quote Originally Posted by d33py_ View Post
    Hey. I have this current script for MKXL.
    Code:
    set_val(PS4_DOWN, 100);    wait(20);
        set_val(PS4_DOWN, 0);
        wait(20);
        set_val(PS4_RIGHT, 100);
        wait(20);
        set_val(PS4_RIGHT, 0);
        set_val(PS4_SQUARE, 100);
        wait(20);
        set_val(PS4_SQUARE, 0);
        wait(20);
        set_val(PS4_LEFT, 100);
        wait(20);
        set_val(PS4_LEFT, 0);
    My problem is, it's getting executed when I press the paddle of my back. But I wanna executed while I hold dpad down, so what obviously is gonna happen, while I'm holding down a few extra inputs get inbetween the script which causes it not to work. So, is there any way that while I press the paddle that every other input is ignored? That way I can hold down the whole time without getting inputs inbetween.

    Would appreciate the help alot..
    Post here the entire script and we will show you how to do it.

  4. #4
    Fastest Thing Alive

    User Info Menu

    Re: script help: need help with something.

    I dont know how do it. Please help me. This is all I have.


    I want to be able to press for example right stick. While I press the right stick, I just want the script to be executed. While im pressing the right stick, I want to be able to press down on my dpad for as long as I want, no matter how long I press it or what I'll do, i dont want any extra inputs in my little code. I cannot get it to work. Whatever I do, the down button will always come inside the combo. How can I avoid it?


    // I tried set_val(XB1_DOWN,0);

    but i think it doesnt work because im holding down already while i press right stick to start the combo so i think it doesnt work. but i want it to work even if i hold down before the actual combo
    Last edited by d33py_; 12th May 18 at 18:34.

  5. #5
    Bulgaria's foremost expert on everything CM related!

    User Info Menu


  6. The Following User Says Thank You to Excalibur For This Useful Post:


  7. #6
    Fastest Thing Alive

    User Info Menu

    Re: script help: need help with something.

    Your awesome. Theres one more thing tho, I don't know if its possible.
    In case im holding down and opening the method maxcmb, how do I open the method with a fresh down? Because it would ignore the first down because im already pressing down. How do I still get the first down?
    Last edited by d33py_; 17th May 18 at 20:42.

  8. #7
    Fastest Thing Alive

    User Info Menu

    Re: script help: need help with something.

    That was my problem in the first place i just recognized it.

    So in case I am holding down and opening the method, as you can see the very first thing of it starts with down, so since im already holding down it would ignore the first part, but how do i avoid that? i want that first part.

  9. #8
    Bulgaria's foremost expert on everything CM related!

    User Info Menu

    Re: script help: need help with something.

    Quote Originally Posted by d33py_ View Post
    Your awesome. Theres one more thing tho, I don't know if its possible.
    In case im holding down and opening the method maxcmb, how do I open the method with a fresh down? Because it would ignore the first down because im already pressing down. How do I still get the first down?
    I'm not sure what do you mean exactly.

    If you hold down ( without start combo ) it will be registered .
    If you hold down it will be send to console untill you start combo.

Posting Permissions

  • You may not post new topics
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •