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

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


NearNode( <node> )

Module: AI
SP Only

Summary:

Determine whether this actor is near to a given path node.


Call this on: <actor> An actor

Example:

if ( ai NearNode( node ) )...

Required arguments:

  1. <node> The path node to check.


Optional arguments:

none


Notes:

none