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

From COD Modding & Mapping Wiki
Share/Save/Bookmark
Revision as of 00:22, 31 July 2009 by CoDEmanX (talk | contribs) (New page: {{Function |Version=4 |Name=WithinApproxPathDist( <distance> ) |Module=AI |Available=SP Only |Summary=Check whether the actor is within an approximate distance to his path |Call_on=&...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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