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

From COD Modding & Mapping Wiki
Share/Save/Bookmark
Revision as of 23:29, 30 July 2009 by CoDEmanX (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search


GetAnglesToLikelyEnemyPath()

Module: AI
SP Only

Summary:

Get the angles towards the direction an enemy is most likely to appear. Returns undefined if a good guess can't be made.


Call this on: <actor> An actor

Example:

self GetAnglesToLikelyEnemyPath();

Required arguments:

none


Optional arguments:

  1. <ignore suppression> Whether to ignore suppression when looking for a path. True makes a success more likely but may result in a more dangerous path.


Notes:

none