This is covered in the manual.
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
"
Look at state 5.
The simple way would be to:
:waypointstate=5:none
or any action other than returning to another waypoint state.
To delete the character at the end of the waypoint:
:waypointstate=5:destroy
Practice, practice, practice. The best way to learn is to experiment.
Best.
I'm sorry, my answers are limited. You must ask the right question.