if target_distance < (range/1.3)-32{
dir = target_direction;
mp_potential_step_object(lengthdir_x(range,point_direction(target_nearest.x,target_nearest.y,x,y)), lengthdir_y(range,point_direction(target_nearest.x,target_nearest.y,x,y)),move_speed,par_avoid); //try to stay a distance from the target
mp_potential_settings(30,15,range,0);}Ive tried different ways of getting it to walk away such as using motion_set() instead of mp_potential_step()
and having the point_direction go from the archers x to the players x and adding 180 but everything I've tried seems to have the exact same result
I cant think why it seems to be so attracted to the top left and running out of ideas...
Edited by dooley05, 30 July 2012 - 08:49 PM.



This topic is locked







