Ugh, this is bizarre. When I enter in a dest_node like so

var dest_node = ll_pfind_getClosestNode(my, entTarget.x, 1000, NULL);

it gives me that error. It doesn't seem to like my pointer or something... Because if I use player.x it works fine.

(the pointer is defined exactly the same way it is in your scripts, I've checked.)

EDIT: I got it, finally. When defined as void instead of action, pathfinders can find the object pointed to.

Last edited by Tai; 09/22/09 16:57.