I have a bit of a general problem (I am still new to lite C). Suppose I have code as below; In follower_action, how to make the follower's coordinates always be the same as that of the entity which was passed to add_follower?

Code:
action follower_action()
{
	while(1)
	{
		me.x = ?;
		me.y = ?;
		me.z = ?;
		
		wait(1);
	}
}

function add_follower(ENTITY* ent)
{
	ENTITY* follower = ent_create(... ,follower_action);
}


Last edited by Siegewolf; 04/14/09 20:30.