Fortnite Auto edit reset

GPC2 script programming for Titan Two. Code examples, questions, requests.

Fortnite Auto edit reset

Postby Danabn13 » Mon Nov 25, 2019 12:26 am

First off let me just say, I’m a big fan of the ish that y’all make. I have a few device and a T2 as well. I am currently using my T2 for the xim apex support. That being said I’ll need this script to work on both if at all possible. So let’s get right into it:

I need a script to where, if I hold right on the d pad for 1 second or more then it activates a script to edit a window and reset the edit instantly. This will cause my opponent to shoot his shotgun into my wall and I will edit out and defeat him on my own accord. If I can get help with this I would be most appreciative! Thanks guys

this is the exact sequence of buttons pressed:
If get dpad right (1000ms)set Val of RT 100, set Val dpad right 100, set Val of RB 100, set Val of dpad right 100

So generically it would be:
If get edit button (dpad right for me)
For 1000ms then activate the script -to press RT (to edit the window) release RT
-press edit button (dpad right for me) release edit button


-Press Reset button (RB for me) release reset button


-Press confirm (dpad right for me)
Release confirm
User avatar
Danabn13
Sergeant
Sergeant
 
Posts: 7
Joined: Tue Jan 22, 2019 2:06 pm

Re: Fortnite Auto edit reset

Postby Mad » Mon Nov 25, 2019 1:46 am

Code: Select all
#include <xb1.gph>
 
main {
  if(is_active(XB1_RIGHT) && time_active(XB1_RIGHT) >= 1000) {
    set_val(XB1_RIGHT, 0);
    combo_run(Reset);
  }
}
 
combo Reset {
  set_val(XB1_RT, 100);
  wait(60);
  set_val(XB1_RIGHT, 100);
  wait(60);
  set_val(XB1_RB, 100);
  wait(60);
  set_val(XB1_RIGHT, 100);
  wait(60);
}
ConsoleTuner Support Team || ConsoleTuner Discord || InputSense Discord (2K / FPS)
Mad
Major General
Major General
 
Posts: 4533
Joined: Wed May 22, 2019 5:39 am

Re: Fortnite Auto edit reset

Postby Muzak10 » Mon Nov 25, 2019 5:39 pm

Wouldn't the aim come into play for this to edit the correct place each time??

Cool idea anyways.

I don't suppose I could get a Fortnite script made with autoaim and an exit build to weapon slot 1 function?
User avatar
Muzak10
Sergeant Major
Sergeant Major
 
Posts: 94
Joined: Tue Oct 30, 2018 10:49 am


Return to GPC2 Script Programming

Who is online

Users browsing this forum: No registered users and 99 guests