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

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:

none


Notes:

none