I'd like to generate random teams of ennemies on and on. Once the previous team is destroyed, I spawn a new team with approximately 10 random creatures, each chosen between circa 100 creatures resources. The problem is, if I use CreatePool, I need to have 1000 creatures in pools... and area loading will fail most of time.
So for the moment, I use CreateObject each time (but without CreatePool at the beginning), and each time a team is killed, I use Safe_Destroy_Object in order to prevent overloading the area with useless objects.
Is there a danger doing so? Can there be a memory leak in any way? Thanks a lot in advance for your help.
Modifié par FanfanVilperdue, 27 avril 2010 - 04:58 .





Retour en haut






