[SOLVED] Space Pirates Trouble with Enemy Spawner I need help

I am having trouble with having the Enemy Spawner to work the Enemy Ships won’t spawn randomly some help would be appreciated i’m not sure what i’m doing wrong. The game works except my enemy ships won’t spawn at all on the screen besides only one. I am also not getting any error with the script.

This is my Editor Link. PlayCanvas | HTML5 Game Engine

Hi @C11 and welcome!

Your enemyspawner script isn’t running due to an issue with its name.

When you click the parse button, you’ll see there is a problem with the script.

The fix is to parse the script first, then remove it from the entity and re-add it to the entity.

Thank You, It worked.

1 Like