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

From COD Modding & Mapping Wiki
Share/Save/Bookmark
Revision as of 00:05, 31 July 2009 by CoDEmanX (talk | contribs) (New page: {{Function |Version=4 |Name=SetLookAt( <position>, <turn acceleration> ) |Module=AI |Available=SP Only |Summary=Set the actor to exit the prone position. |Call_on=<actor>...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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