even by using ent_clone or ent_cloneskin the skins of all entities changes...perhaps its another problem, my code looks like this:
Code:
BMAP* test;
for (i=0,i<100,i++)
{
my = ent_create([.....]);
ent_clone(my);//ent_cloneskin(my);
test = bmap_createblack(16,16,32);
bmap_fill(test,vector(random(255),random(255),random(255)),100);
ent_setskin(my,test,1);
}
perhaps i'm using the same pointer to the bmap inside the whole loop...