Posted By: JHA
ENTITIES into array - 09/26/10 14:01
Hello
Is it possible to put ENTITY(s) to array, something like
ENTITY BULLET[8]
and then have access to them like any array:
BULLET[1]= ent_create("ball2.mdl",BulletP,DestroyBulletIfOutsite);
Or is there some vector where engine keeps the pointers. Because when pressing F11 is possible to see number of entities?
JHA
Is it possible to put ENTITY(s) to array, something like
ENTITY BULLET[8]
and then have access to them like any array:
BULLET[1]= ent_create("ball2.mdl",BulletP,DestroyBulletIfOutsite);
Or is there some vector where engine keeps the pointers. Because when pressing F11 is possible to see number of entities?
JHA