GetWaypointByTag() NWScript command finds a waypoint with the the indicated tag (specified as a string). It returns OBJECT_INVALID if no waypoint was found.
This command is most useful when there is only one waypoint with the indicated tag, as there is no way to distinguish between waypoints with the same tag. (Other types of objects can share the indicated tag without affecting this command.)
object GetWaypointByTag (string sWaypointTag
- The tag of the waypoint to locate.