Spawn point help...
Posted: Thu Mar 15, 2012 2:31 pm
I've been working on gameEditor for a few weeks now and I'm loving it. This is awesome. I need some help on setting up the spawn points. Here's what I have at the moment.
Actors:
spawntimer - an 8 second countdown when the next spawn will be.
spawnpoint - a point in the level where the enemy will spawn.
enemy - the enemy that will spawn.
Global Script:
int secleft = 8;
int frame = 0;
currently I have a draw actor event for the spawnpoint that checks if the seconds left is 0. if it is then create actor enemy.
I was able to create an enemy every 8 seconds on 1 spawn point but then I want to create enemies on more than 1 spawn point. I tried cloning my spawnpoint actor but the enemy only spawns on 1 of the spawnpoints and not on the other 1.
I also tried to create another actor and named it spawnpoint2 (not a clone) with the same event and action as the spawnpoint actor but it still did not create the enemy.
any other ideas I can use? or am i doing something wrong? Thanks community.
Actors:
spawntimer - an 8 second countdown when the next spawn will be.
spawnpoint - a point in the level where the enemy will spawn.
enemy - the enemy that will spawn.
Global Script:
int secleft = 8;
int frame = 0;
currently I have a draw actor event for the spawnpoint that checks if the seconds left is 0. if it is then create actor enemy.
I was able to create an enemy every 8 seconds on 1 spawn point but then I want to create enemies on more than 1 spawn point. I tried cloning my spawnpoint actor but the enemy only spawns on 1 of the spawnpoints and not on the other 1.
I also tried to create another actor and named it spawnpoint2 (not a clone) with the same event and action as the spawnpoint actor but it still did not create the enemy.
any other ideas I can use? or am i doing something wrong? Thanks community.