SetWayPointTo1()

Tells an NPC to return to their first waypoint.

void SetWayPointTo1();

Description

Designed for use in heartbeat event. Determines where waypoint start is, then goes to it, and then searches for other waypoints to head towards. When at end of waypoints, starts back the other direction.



Remarks

Script: nw_c3_waypoint1.nss: Line:25


Requirements

#include "nw_c3_waypoint1"

Version

1.29

See Also

functions: MakeWay | NextTag
categories: Core AI Functions
events: OnHeartbeat Event


 author: Jody Fletcher