Battledale_PRC8/_module/nss/px_boidoc_work.nss

16 lines
306 B
Plaintext
Raw Permalink Normal View History

void SetFacingObject(object oTarget)
{
vector vFace=GetPosition(oTarget);
SetFacingPoint(vFace);
}
void main()
{
object oTele = GetNearestObjectByTag("fr_boidoc_tele");
SetFacingObject(oTele);
AssignCommand(OBJECT_SELF,ActionMoveToObject(oTele));
PlayAnimation(ANIMATION_LOOPING_GET_MID,1.0,10000.0);
}