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

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


GetHitYaw()

Module: AI
SP Only

Summary:

Get the direction in degrees that the player has hit an obstacle at. Returns an error if nothing was hit.


Call this on: <actor> An actor

Example:

 self GetHitYaw();

Required arguments:

none


Optional arguments:

none


Notes:

none