I have a little idea i’ve come up with, but before I start I’d like to know the best way of how to approach this. I’m planning on making an entity and this entity will be spawned around the map and will save all them specific entities and locations i.e using a simple console command save_all_testents.
This is my concern, would it be a bad idea every time I spawn that specific entity, add it to a table and if i spawn another, add that one to the table too! So when I want to save them I simply run the command, loop through the table and save their locations etc,
Is this a good method of doing this, does anyone else know any efficient ways?
I appreciate your help, thank you.