Originally Posted By: Ralph
Try this:


The code exactly as you wrote it does not work for me (it is not following), but if I put ENTITY* ent = ptr_for_handle(my.skill10); within the loop, as below, it does work. I have no clue why is this happening. Any explanation?

Code:
action follower_action()
{
	while(1)
	{
		ENTITY* ent = ptr_for_handle(my.skill10);
		vec_set(my.x,ent.x);	
		wait(1);
	}
}