When creating a minimap for myself (in my game) I came across this final problem I can't figure out. I can't figure out why my locator models won't move with the players. I have correctly inputed pointers, these are running and everything seems fine, can anyone tell me how my pointers all exist but causes nothing to move? Code:
 string enemydot_mdl = <enemydot.mdl>;
var enemydot_pos[3];

entity* actors_pointer;
var actors_index = 0;
var my_actors[50];

entity* crosshair_pointer;
var my_crosshair[50];

var move_crosshair[3];

function create_enemydot(actors_indexes)
{
sleep(.5); //ent_create can't happen until .5 secs after level loads
actors_pointer = ptr_for_handle(my_actors[actors_indexes]); enemydot_pos.x = actors_pointer.x;
enemydot_pos.y = actors_pointer.y;
enemydot_pos.z = 145;
you = ent_create(enemydot_mdl, enemydot_pos, null);
my_crosshair[actors_indexes] = handle(you); //actor already added one
crosshair_pointer = ptr_for_handle(my_crosshair[actors_indexes]);
crosshair_pointer.unlit = on;
crosshair_pointer.ambient = 100;
crosshair_pointer.passable = on;
crosshair_pointer.visible = on;
crosshair_pointer.z = 145;

while(1)
{
wait(4);
move_crosshair.x = actors_pointer.x - crosshair_pointer.x;
move_crosshair.y = actors_pointer.y - crosshair_pointer.y;
move_crosshair.z = 0;
ent_move(move_crosshair, nullvector);
}
}

action actor_walk_fight
{
my_actors[actors_index] = handle(my); //pointer to each actor
actors_index += 1; //put in the next number for the next actor
... //main code for actor_walk_fight
create_enemydot(actors_index - 1); //calls function create_enemy
}

all my enemydot_mdl's are formed correctly but they refuse to move I tried and tried but lol can't figure it out.


A clever person solves a problem.
A wise person avoids it.
--Einstein

Currently Codeing: Free Lite-C