Hi everyone,
I'm trying to get the enemies to fire at different intervals. I've tried so many different ways and looked at a lot of threads, but I am unable to get it to work... I don't know what I'm doing wrong.
Your help would be greatly appreciated.
Thank you!
Develop games in your browser. Powerful, performant & highly capable.
Use Timer behavior. When enemy is created, start the Timer for random(1,4) seconds.
In "On Timer" event, fire a bullet and re-start the timer for another random(1,4) seconds.
Hi Dop,
I tried that yesterday, among many other things. Your post got me to try again with the Timer behavior and I found the problem.
Thank you for your time!
This would be a good place to use probability tables.
construct.net/en/make-games/manuals/construct-3/plugin-reference/advanced-random
You have a repeating timer, and on the timer you check if the return from the table is the value that means shoot.
Thanks for the tip Newt!