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

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


IsInGoal( <point> )

Module: AI
SP Only

Summary:

Determine whether a given point is in the actor's current goal area


Call this on: <actor> The actor whose goal you would like to check.

Example:

if ( ai IsInGoal( node ) )

Required arguments:

  1. <point> which node to check.


Optional arguments:

none


Notes:

none