Fractal Softworks Forum

Please login or register.

Login with username, password and session length

Author Topic: submitting a rapidfire modification that uses glovepie  (Read 7941 times)

cyborg

  • Ensign
  • *
  • Posts: 30
    • View Profile
submitting a rapidfire modification that uses glovepie
« on: June 19, 2011, 04:22:03 PM »

Ever wish you could get your ship to rapid fire at the press of a key? With this script, you can press the key that you want once, and it will cause your ship to rapid fire until you press it again. I took a basic script (http://glovepie.org/forum/viewtopic.php?f=2&t=961) off of their forum with some modification, and that is using press and release instead of type (because type doesn't work through the game).

My pulse laser is awesome now!  ;D Note that you can still charge it by using the alternate key!


if released(key.Backslash) then toggle(var.macro)

if var.macro {
   var.count++
   if var.count = 1 then var.letter = "y"
   if var.count = 1 then var.wait = 15
   if var.count = 1 then var.count = 0
  press(keyboard.y)
  wait var.wait ms
  Release (keyboard.y)
  wait var.wait ms
else
   var.count = 0
}
Logged