DbPointObject

This command will point the specified 3D object towards a point in 3D space. The command sets the current direction of the object to face towards this point in space.

Syntax
void dbPointObject ( int iObject, float fX, float fY, float fZ ) iObject is the refernce number for the object. fx is the x position of where the object is to face. fy is the x position of where the object is to face. fz is the x position of where the object is to face.