AI_FaceObjRelWorld

Makes the calling object face into direction of a point relative to the object given in tag. The coordinates are given on the world coordinate system.

function AI_FaceObjRelWorld(tag, x, y, z); wcp;

  // face a point 50 units behind the midway 
  AI_FaceObjectRelWorld(Midway, 0, 0, 50);