Run combo some milliseconds after initiation using an uncommon approach

Maiden_Ty_One requested this script. The script's purpose is vague except he mentioned it's to get around Bioshock's dreadful controls. I upload this script because I have not seen any scripts use this approach. Take a look if you need a better understanding. -Token
Version1.00
Authortoken
Publish DateWed, 2 Apr 2014 - 12:58
Last UpdateWed, 2 Apr 2014 - 12:58
Downloads55
RATE


0

0

Code: Select all
int c = 0;
main {
if(get_val(20) && get_ptime(20) >= 40) c = 1;
    while( c == 1 )
        { c=activation(c, 1);
            set_val(19, 100);
                if(event_release(19))
                    {c = 0;break;
        }
    }
}
function activation(a, b) {
    return (a) - (b);
}