i am using FPS sentry Gun & rocket Luncher script my question is how can i put delay between 2 bullets
like fire 1 bullet & stop 3sec & then fire 2 bullet my rocket launcher script
What you can do is every time you fire define the "nextFireTime" as the current time + your desired delay, and then only fire after that time.
This would make the bullet.rocket only able to fire after the delay. You could also do this, which would call the fire function automatically with the delay:
answered Apr 01, 2010 at 08:38 PM
i got it in a Sentry Gun script just add this
& update section
answered Apr 02, 2010 at 08:41 AM