Simple AI patrol between waypoints using spline or array of points
Updated 3mo ago
Reference
Pattern: Variables PatrolPoints(Array<Vector>), CurrentIndex(int)=0. BeginPlay: SimpleMoveToLocation(PatrolPoints[0]). OnMoveCompleted (or Tick+distance check): SET CurrentIndex = (CurrentIndex+1) % Array_Length → SimpleMoveToLocation(PatrolPoints[CurrentIndex]). Add Delay between moves for wait time. Use AIMoveTo for more control.