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

From COD Modding & Mapping Wiki
Share/Save/Bookmark
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