So, now the next example is not an array of strings but an array of entity. Here a simple sphere. i tried to initialize an array of 10 spheres and set it with .x to a specified position, but it doesn't work.
i watch it with DEBUG_VAR if my vector is set correctly and it is.
then i give the positions to every sphere, that they form a row of spheres, but all spheres has the same position.
Maybe i fall into a trap of restrictions i oversee or my pointers are wrong allocated.

Code:
ENTITY sec[10];
int i;

function main()
{
   i = 10;
   sec = malloc(sizeof(ENTITY)*i);
   for(v=0;v<i;v++)
	{
		&sec[v] =  ent_create("SPHERE.MDL", NULL,NULL);
		&sec[v].flags = SHOW;
	}
	
	for(v=0;v<i;v++)
	{
		vec_set(sec[v].x, vector(v*3,0,0));
		wait(1);
		DEBUG_VAR(sec[3].x,30);
	}
}



what my initial code should do is. that i create a master sphere, and put at every vertex, a smaller sphere:

Code:
ENTITY *fis;
int i;

void main()
{
...
fis = ent_create("SPHERE.MDL", vector(0,0,0),NULL);
i = ent_status(fis,1);
...
}



After that i get all vertices from the CONTACT struct of the Master Sphere.
And (try to) put the smaller spheres with a for..loop on them, if the positioning would work.

arggghh.