is this possible to script

Gtuner Pro general support. Operation, questions, updates, feature request.

is this possible to script

Postby awesomejoe » Tue Apr 23, 2019 8:46 am

Hello,
i was wondering if this was possible using script


https://www.youtube.com/watch?v=RWOMHFZU5dk
User avatar
awesomejoe
Sergeant First Class
Sergeant First Class
 
Posts: 25
Joined: Mon Apr 24, 2017 6:09 am

Re: is this possible to script

Postby J2Kbr » Tue Apr 23, 2019 10:26 am

Yes, this is possible implement with GPC script, here is an example:
Code: Select all
define HOLD_TIME        = 150;
define RELEASE_TIME     = 50;
 
main {
    if(get_val(PS4_L2)) {
        combo_run(AimAssistAbuse);
    }
}
 
combo AimAssistAbuse {
    set_val(PS4_L2, 100);
    wait(HOLD_TIME);
    set_val(PS4_L2, 0);
    wait(RELEASE_TIME);
    set_val(PS4_L2, 0);
}
 
You can adjust the hold and release times in the defines at the beginning of the script.
ConsoleTuner Support Team
User avatar
J2Kbr
General of the Army
General of the Army
 
Posts: 20323
Joined: Tue Mar 18, 2014 1:39 pm


Return to Gtuner Pro Support

Who is online

Users browsing this forum: No registered users and 35 guests