Cod quickscope Xboxone

GPC1 script programming for Titan One. Code examples, questions, requests.

Cod quickscope Xboxone

Postby JohnWick38 » Fri Apr 08, 2022 5:51 am

Need a script that allows me to quickscope upon releasing the LT button instead of the normal tap or pressure sensitive quickscope inside the cod gamepacks.
User avatar
JohnWick38
Sergeant First Class
Sergeant First Class
 
Posts: 16
Joined: Tue Mar 22, 2022 9:50 am

Re: Cod quickscope Xboxone

Postby Mad » Fri Apr 08, 2022 11:18 pm

Code: Select all
define QUICKSCOPE_TIME = 320; // time it takes to scope in, in milliseconds
 
main {
    if(event_release(XB1_LT)) combo_run(qs);
}
 
combo qs {
    set_val(XB1_LT, 100);
    wait(QUICKSCOPE_TIME);
    set_val(XB1_LT, 100);
    set_val(XB1_RT, 100);
    wait(40);
}
ConsoleTuner Support Team || ConsoleTuner Discord || InputSense Discord (2K / FPS)
Mad
Major General
Major General
 
Posts: 4533
Joined: Wed May 22, 2019 5:39 am


Return to GPC1 Script Programming

Who is online

Users browsing this forum: No registered users and 94 guests