AI_FaceObjRelFrame

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

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

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