MayMoveToPoint( <Position> )

Module: AI
SP Only


Check whether the actor can move to a given point.

Call this on:

<actor> An actor


 if ( !self MayMoveToPoint( endPoint ) )...

Required Args:

  • 1 : <position> (point) The position that the actor may be able to move to.

Optional Args

  • 1 : <check drop> checks if the point would cause the AI to drop. Defaults to true.