I believe it is possible to change the XY coordinates of an NPC, all I ask is what is the variable called, and is it possible to manipulate it?
EDIT: Never mind, but is there a way to retrieve the NPC's direction/distance from Link?
I believe it is possible to change the XY coordinates of an NPC, all I ask is what is the variable called, and is it possible to manipulate it?
EDIT: Never mind, but is there a way to retrieve the NPC's direction/distance from Link?
There's no built-in function for that. Here's the distance function, though, in case you don't know it:
float Distance(float x1, float y1, float x2, float y2)
{
return Sqrt((x2-x1)*(x2-x1)+(y2-y1)*(y2-y1));
}