Enemy Spawner
- Keshav Batra
- Feb 9, 2024
- 1 min read
I have finally got my enemy spawner to actually work. I just had to fix something in the enemy spawner script since it was initially only spawning itself. What I did was when the game started, I added a delay function so that the enemies wouldn't spawn simultaneously. I had then attached the final delay to the beginning of the spawn actor function.
Here is what the final result looks like:
This is the code:
Comments