
Originally Posted by
Archangel
Ceiling cat is watching you?
The limit is 2048 entities.
A player is an entity, a lamp is. A dropped weapon is. Everything you can interact with is one. And so are the carepackages you people spawn. Maybe there is a way to only spawn a STATIC (unmovable) model instead of a dynamic one. That way you could make as much as your memory allows you to.
and a little bird (no, NO CHOPPER!) whispered this into my ear:
Code:
level.destructibleSpawnedEntsLimit = 1000;
by default this limit is set to 50 and
Code:
if ( level.destructibleSpawnedEnts.size >= level.destructibleSpawnedEntsLimit )
physics_object_remove( level.destructibleSpawnedEnts[ 0 ] );
makes sure you can't make more.
but still, creating static models instead of dynamic ones is a better way. I never looked into this so I do not know if this is possible to do on runtime.