[question] Random rapid fire script

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

[question] Random rapid fire script

Postby kevinr1 » Wed Sep 15, 2021 2:14 pm


I'm not sure if this is possible. I'd like to have a rapid fire script. However, I'd like the timing between each shot to be random.
This way people won't notice I'm using a rapid fire script, it could arguably be that I'm clicking really fast on the trigger.

Shoot, wait 0.01s, shoot, wait 0.05s, shoot, wait 0.08s, shoot.

Can someone create such a simple script for me? I'd like to map the script to my keyboard, example button "H".
If a random timing between each shot is not possible, please can someone provide a simple rapid fire script?

I'm a big noob when it comes to programming. Currently, I already have this script configured in my memory slot.
I assume this script has to be extended with the rapid fire script, so I can use both functionalities in the same memory slot.

Code: Select all
#pragma METAINFO("toogle__ads", 1, 0, "somebody")
int toggle_ads;
main {
  if(event_release(7)) toggle_ads = !toggle_ads;
  if(toggle_ads) set_val(7, 100);
User avatar
Posts: 5
Joined: Mon Apr 12, 2021 9:45 pm

Return to Gtuner IV Support

Who is online

Users browsing this forum: No registered users and 14 guests