It adds enemies depending on which area the player is and saves the enemy’s data dynamically. Furthermore, you can save and load them to different Slots.
You can dublicate your group enemies and define in which areas to show them. First you need to run CS_enemy_write.py to get the CS_enemy_level.py, don’t forget to delete OBcam in the file if you want to add new enemies.
While in game you can save all data with F5 and load them after with F6.
I think that is a good way to save logic resources, as there will be only 3-5 enemies at once. Furthermore you also don’t need to delete them after they are dead. By the way the dead state is simulated if you collide with an enemy.
I’m trying to make my main character as self contained as possible which he already has a large amount of states. but once finished i’ll be able to just append his group into any level i make and he’s already fully functional.
And when i understand your setup, i can add like states(and constraint) to my pre-existing control empty.
Thx again for taking the time. I’ll be using your culling system, and enemy system in my game as well(I also like your save/load and may change my current one to one more like yours.).