But when he reachs first pathnode, he stops, start looking behind and walking same time.
I've got some help from .:..: already but it didn't help.
So here's the code:
Code: Select all
class testpawn expands ScriptedPawn;
var actor Path;
state movethe
{
Begin:
if( PointReachable(Destination))
MoveTo(Destination);
PlayRunning();
Path = FindPathTo(Destination);
if( Path!=None )
{
MoveToward(Path);
GoTo'Begin';
}
}
