Code:
ENTITY* john = ent_create(SPHERE_MDL,vector(0,0,0),NULL);
ENTITY* bill = ent_create(SPHERE_MDL,vector(10,0,0),NULL);
if (vec_dist(&(john->x),&(bill->x)) > 100)
   bill->x += 10;


You can also create the GameObject.Find function easily in Gamestudio with the help of ent_next. All this has nothind to do with components.


Always learn from history, to be sure you make the same mistakes again...