View Single Post
  #1  
Old 11-29-2008, 08:13 AM
thatdwarf thatdwarf is offline
Former UN Dev Admin
Join Date: Nov 2005
Posts: 42
thatdwarf is on a distinguished road
Cant Control OnKeyPressed

Alright, right now I'm having a problem with a gun script.
The basic idea is that onKeyPressed() is calling the gun as if it were automatic (meaning you hold down the fire button, and tons of bullets fly out)

I need this to be limited to one shot per X seconds. Any suggestions for methods?





Note: to all of you just looking for a chance to blast a thread, I'm asking for method suggestions, not full code
Reply With Quote