Jump to content
taterwrecks

Area respawning & blacklist respawn

Recommended Posts

Creating a wave defense game and almost finished except for that I have decided to switch from spawning on predefined markers to Random spawning in an area marker. I'm trying to setup respawns in a large area with a blacklisted center area that prevents AI from spawning too close to the players. (and additional blacklist areas to prevent spawning in bad terrain) How do I prevent enemies from spawning in these stacked marker locations with defined areas that cannot be randomly spawned in?

 

Share this post


Link to post
Share on other sites

Doesn't use findSafePos but if you already have all your areas marked as per OP then this may help.

Does land/water/elevation and can be provided with multiple white/blacklists as either markers, triggers or areas( [position, radius] ) even does within edge distance of an area. Old but still works from a quick run of the example mission.

  • Like 1

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

×