nned script for looting in apex legends

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

nned script for looting in apex legends

Postby arerated » Thu Feb 14, 2019 7:43 pm

not to good with the scripting. looking for a script that essentially spams the x button on xbox one. it would help with looting in apex legends. would be much appreciated :)
User avatar
arerated
Sergeant
Sergeant
 
Posts: 6
Joined: Tue Jul 03, 2018 3:31 pm

Re: nned script for looting in apex legends

Postby J2Kbr » Mon Feb 18, 2019 5:13 pm

arerated wrote:looking for a script that essentially spams the x button on xbox one.

Press X to start the combo (Spam X), press X again to stop. :smile0517:
Code: Select all
int toggle;
 
main {
    if(event_press(XB1_X)) {
        toggle = !toggle;
    }
    if(toggle) {
        combo_run(Spam_XB1_X);
    }
}
 
combo Spam_XB1_X {
    set_val(XB1_X, 100);
    wait(50);
    set_val(XB1_X, 0);
    wait(40);
    set_val(XB1_X, 0);
}
 
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 GPC1 Script Programming

Who is online

Users browsing this forum: No registered users and 65 guests