Patrol Along

AI
Server Side
Both Mobile and PC

AI entities patrol in order of the list of coordinates

Declaration

func PatrolAlong(target entity<Monster>, positions List<Vector3>, comeBack PatrolType, style PatrolStyleType)
go

Parameters

Input

Name Type Description
Target AI Targeted AI entities
Positions ListT_Vector3 List of Moving Coordinate Points
Come Back PatrolType Patrol type, with the option of single, round-trip loop or cycle
Style PatrolStyleType Whether hostile targets are detected and attacked during patrols