Jump to content
Sign in to follow this  
Gamerboy37

Enemy respawning help***

Recommended Posts

Hello all and thanks in advance to anyone willing to help me. I am creating a mission and I want to have a squad pinned down by waves of enemies. The plan is that the player is the squad that is bringing relief to the pinned down squad. As I understand, respawn doesn't work in single player so I have a big question:

How can I make the enemy squads keep respawning after being defeated and keep coming back for more?

Here is my temporary solution:

* I just make all the enemies that will attack the squad in the editor and based on timers and triggers come and attack the squad.

* I also considered the createunit command, but I would also need help with that if anyone knows about that.

I prefer to have a re-spawn script to handle this so that the overhead isn't overloaded with tons of enemies already on the map from the start.

Sorry for my ignorance but I really want to make this believable mission.

Again, thanks in advance for anyone who can help me.

Share this post


Link to post
Share on other sites

create enemy groups (you can place them on the map at the beginning), name them.

group1 = group this

etc

Place a trigger or write a sqs script which checks if a group is empty (all units of a group killed) then create units ie on a position of a marker and add them to the defeated group. Remember to set the waypoints (addWaypoint).

Share this post


Link to post
Share on other sites

Thanks RazorX, can you give me more details for the addWaypoint. I am going to try this when I get home. Again thanks for the help.

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×