- Home /
put a 2 second delay for each bullet?
hi im a total newbie and i checked various stuff about reloading. all i need is to put a 2 second delay on each firing so the player cant abuse my enery ball launcher. i dont know c# so javascript would be awsome!
Answer by Landern · Jan 07, 2013 at 05:28 PM
Use Invoke while checking to see if it is in the process of being invoked(so nothing over laps).
This documentation shows you pretty close to what you want as it is launching a projectile every 2 seconds.
I do not think this is what is meant here. Invoke will Instantiate after 2seconds, I think he meant every 2 seconds like an automatic gun.
Your answer
Follow this Question
Related Questions
shot delay in between bullets 1 Answer
Delay Advertisements when switching between scenes? 0 Answers
Why is there a delay before the script functions? 3 Answers
Reload help 1 Answer
Timer not working as expected. 1 Answer