GPC Library

Script for SIGMA41HD

Loop combo with timer between loops
Version 1.0
Author KittyDawn
Publish Date 2015-01-14 10:06:31
Update Date 2015-01-14 10:06:31
Downloads 62
RATE


1

0

Release Notes: www.controllermax.com/forums
Code:Select all
int combostartwait; //Variable between combo finish and restart
int loop;           //Toggle/loop variable

main{

    if(event_press(1)){ //1=View/Back
        if(!loop){      //If loop is false (It equals 0 (Zero))
            combo_run(Magick); //Run combo now so we don't have to wait 8 seconds for it to start
        }
        loop=!loop; //Toggle loop true/false state.  Any number greater than 0 = true.  0 = False
        
    }
    if(loop){   //If loop is true
        if(!combo_running(Magick)){ //If the combo is not running
            combostartwait=combostartwait+get_rtime(); //Add real time in ms to variable value. +1 will be added to it every millisecond
        }else{
            combostartwait=0; //Else (if the combo is running), the variable equals 0 (Zero)
        }
        if(combostartwait >= 8598){ //If the variable is greater or equal to 8598.  8598 + combo = 10 seconds
            combo_run(Magick); //Run the combo
        }
    }else{
        combo_stop(Magick); //Else if loop is false, stop the combo.
    }
}

combo Magick {
    set_val(XB1_Y, 100);
    wait(30);
    set_val(XB1_Y, 0);
    wait(1140);
    set_val(XB1_A, 100);
    wait(30);
    set_val(XB1_A, 0);
    wait(30);
    set_val(XB1_DOWN, 100);
    wait(32);
    set_val(XB1_DOWN, 0);
    wait(25);
    set_val(XB1_A, 100);
    wait(25);
    set_val(XB1_A, 0);
    wait(20);
    set_val(XB1_UP, 100);
    wait(25);
    set_val(XB1_UP, 0);
    wait(20);    
    set_val(XB1_A, 100);
    wait(25);
    set_val(XB1_A, 0);
}  
  • Rating

    10 / 10 here !

    If you own a ps3 and prefer an xbox controller, or even use a keyboard and mouse, this is a must to remap your keyboard to a controller. Go buy it now you won't be disappointed !

  • Rating

    Amazing device

    If you're like me and love your PS4 controller but want to use an Xbox One GET THIS you won't be sorry.

  • Rating

    Worth every penny

    The controller feels and performs as it does on the xbox right there on my ps3, awesome job guys, and worth every penny !!!

  • Rating

    Amazing Macro combos

    tested Super Street Fighter IV Arcade Edition. I was able to perform normal & FADC combos with some characters like Ryu and Ken with a single click. Amazing.

  • Rating

    As good as a XIM

    If you are a pc gamer, that needs a pc solution for console, get yourself a ControllerMAX you will not regret it.

  • Rating

    KB & Mouse RULES!

    All I can say playing 10 minutes with ControllerMAX properly configured it felt better then PC....YES I said it even better then PC, it's that smooth.

  • Rating

    Six-Axis 360!

    WOW! I can finally get that six-axis awesomeness on my Xbox 360. The best money I ever spent.

  • Rating

    Beats all rapidfire mods

    I've tried the Intensafire, Godfather even the new Wolf controller. The ControllerMAX beats them hands down and no wires or soldering too. 5 Stars!

  • Rating

    Just perfect!

    I can't believe how much this can do for the price tag - it blew me away. Best controller upgrade ever.

  • Rating

    Hugh Thanks!

    Without your help I couldn't be playing Xbox, thanks guys.

  • Rating

    Wow!

    I have to say after reading the forums for Destiny Mouse and Keyboard setup I was flying into getting it set up in 20 minutes. It works outstanding! I'm more then satisfied and its worth every penny!

  • Rating

    Achievement Unlocked!

    Idle boosting Complete 150 Multiplayer games, James Cameron's Avatar. My friend said it would be hard, I laughed then linked him.

  • Rating

    A++!

    Now this is a company you can count on and trust...keep up the great work guys!

  • Rating

    What Disability?

    I would like to thank you for making the CronusMax. I have this problem hitting L3 and R3, and today that problem was fixed. I love the remap feature on the Cronus max. You made my life easier.

  • Rating

    Awesome stuff guys!

    Playing Forza 5 with my original MS 360 wireless wheel makes the XB1 complete for me, thanks to the CronusMax. Thumbs up!