Page 1 of 1

Help with script please

PostPosted: Tue Sep 17, 2019 3:36 am
by Flakgreen6
I’m trying to make a script for borderlands 3 to afk farm by reviving another player who repeatedly dies on Xbox one but I’m not too great at making scripts and was hoping for some help. I need the script to press and hold x button for 3 seconds then release x button for 3 milliseconds and once again press and hold x for 3 seconds I want this cycle to endlessly repeat. Thanks in advance

Re: Help with script please

PostPosted: Tue Sep 17, 2019 5:00 am
by DontAtMe
Code: Select all
define HOLD =       3000; // 3 seconds = 3000 ms
define RELEASE =      10; // 10 ms
 
main {
  combo_run(revie);
}
combo revie {
  set_val(XB1_X, 100);
  wait(HOLD);
  wait(RELEASE);
}
The shortest time interval on the titan one is 10ms. So the release time will be 10ms instead of 3ms.

3ms is way to fast anyways, it would never register in game as an actual release anyways.

Re: Help with script please

PostPosted: Tue Sep 17, 2019 9:32 pm
by Flakgreen6
Thank you very much