Call of Duty 4: Scripting Reference - AI::WithinApproxPathDist

From COD Modding & Mapping Wiki
Share/Save/Bookmark
Jump to: navigation, search


WithinApproxPathDist( <distance> )

Module: AI
SP Only

Summary:

Check whether the actor is within an approximate distance to his path


Call this on: <actor> An actor

Example:

 self WithinApproxPathDist( distance );

Required arguments:

  1. <distance> (float) The distance to test against.


Optional arguments:

none


Notes:

none