Skip to content

five-on-it / packages/ai/src/steer-foot / atPathEnd

Function: atPathEnd() ​

atPathEnd(npc, x, z): boolean

Defined in: packages/ai/src/steer-foot.ts:187

Whether a character at (x, z) stands at the end of its path (or has an empty one).

Parameters ​

npc ​

NpcState

x ​

number

z ​

number

Returns ​

boolean