Quote: "WAYPOINTSTATE=X is true when the waypoint state value equals X
State 0 means the entity has not yet started following waypoints
State 1 means the entity is looking for the nearest waypoint marker to start from
State 2 means the entity is following a waypoint line to its current waypoint marker
State 3 means the entity has reached the waypoint marker and needs to decide what to do
State 4 means the entity has reached the waypoint marker and it splits off in more than one other direction
State 5 means the entity has reached the very end of the current waypoint structure and requires a decision to be made
(A state of 999 means the entity has been placed in zero-waypoint mode where the entity simply ignores waypoints)
"
More info is available in the manual.
Best.
I'm sorry, my answers are limited. You must ask the right question.