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

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


LerpPosition( <origin>, <angles> )

Module: AI
SP Only

Summary:

Interpolate an actor's position, and angles.


Call this on: <actor> An actor

Example:

self LerpPosition( entry['origin'], entry['angles'] );

Required arguments:

  1. <origin>(vector) the position to interpolate to.
  2. <angles>(vector) the angles to interpolate to.


Optional arguments:

none


Notes:

none