Mr Love
Ok, I had some time to test out some scripts. I got this one to work very well.
This is using the custom "lucy" model I gave you before. (her animations are different from stock ones)
:waypointstate=0:state=1,animate=2,waypointstart
:waypointstate=3:animate=2,waypointnext
:waypointstate=4:animate=2,waypointrandom
:waypointstate=5:animate=2,waypointreverse
:state=0:state=1
:state=1,plrdistwithin=100:waypointstop,animate=4,rotatetoplr,etimerstart,state=2
:state=2:fpgcrawtextsize=32,fpgcrawtextfont=Arial,fpgcrawtextr=255,fpgcrawtextg=255,fpgcrawtextb=255,fpgcrawtextx=50,fpgcrawtexty=80
:state=2:fpgcrawtext=Hi Walter
:state=2,etimergreater=5000:fpgcrawtextoff,state=3
:state=3,plrdistfurther=100:waypointstate=0,state=1,animate=2,waypointstart
Tested and works, just place a couple waypoints. Lucy walks along, when player gets close she stops and talks to player.
After 5sec's she resumes waypoints if player is one segment away. Player "within" distance is set to 100 (one segment) Adjust to your needs.
best
Note: also, any further script related questions should be posted in script forums before a mod says something
My games never have bugs. They just develop random features..
Lots and lots of random features...