Call of Duty 4: Scripting Reference - AI::MayMoveFromPointToPoint
From COD Modding & Mapping Wiki
MayMoveFromPointToPoint( <start> <end> )
Module: AI
SP Only
Summary:
Check whether the actor can move from a given point to a given point. Does not check friendly fire and in goal radius unlike maymovetopoint
Call this on: <actor> An actor
Example:
if ( !self MayMoveFromPointToPoint( startPoint endPoint ) )...
Required arguments:
- <start> (point) start position.
- <end> (point) end position.
Optional arguments:
- <check drop> checks if the point would cause the AI to drop. Defaults to true.
Notes:
- none