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

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


SetLookAt( <position>, <turn acceleration> )

Module: AI
SP Only

Summary:

Set the actor to exit the prone position.


Call this on: <actor> An actor

Example:

self SetLookAt( lookTargetPos, self.anim_lookTargetSpeed );

Required arguments:

  1. <position> The point for this actor to look at
  2. <turn acceleration> The acceleration to turn the actor's head at.


Optional arguments:

none


Notes:

none