Analog Stick to D-Pad and Vice Versa

This is for ScHlAuChi. EODCM made a script for ScHlAuChi but it didn't work for him. I decided to make a new script for ScHlAuChi. This is my version. There is no comments because this script isn't for customizing. I tested it and it works for me. Please enjoy. - Token
Version1.10
Authortoken
Publish DateTue, 11 Mar 2014 - 04:19
Last UpdateSat, 26 Apr 2014 - 22:06
Downloads86
RATE


2

0

Release Notes: Rightstick works now.
Code: Select all
main {
    set_val(13, 0);
    set_val(14, 0);
    set_val(15, 0);
    set_val(16, 0);
 
    set_val(11, 0);
    set_val(12, 0);
 
 
    if(get_lval(13)) set_val(12, -100)
    if(get_lval(14)) set_val(12, 100)
    if(get_lval(16)) set_val(11, 100)
    if(get_lval(15)) set_val(11, -100)
 
 
    if(get_lval(12) < -20) set_val(13, -100)
    if(get_lval(12) > 20) set_val(14, 100)
    if(get_lval(11) < -20) set_val(15, -100)
    if(get_lval(11) > 20) set_val(16, 100)
}