Declaración
func PatrolTo(target entity<Monster>, position Vector3, comeBack bool, style PatrolStyleType)
go
Parámetros
Entrada
Nombre | Tipo | Descripción |
---|---|---|
Target | AI | Targeted AI entities |
Position | Vector3 | Moving target point |
Come Back | Bool | Whether to return to the point of departure |
Style | PatrolStyleType | Whether hostile targets are detected and attacked during patrols |