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

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


SetLookAtYawLimits( <look anim yaw max>, <look yaw limit>, <blendtime> )

Module: AI
SP Only

Summary:

Set the limits of what this actor can look at.


Call this on: <actor> An actor

Example:

self SetLookAtYawLimits( lookAnimYawMax, lookYawLimit, blendtime );

Required arguments:

  1. <look anim yaw max> The maximim yaw for the animation
  2. <look yaw limit> The maximim limit for the actual look at.
  3. <blendtime>The blend time for looking in seconds.


Optional arguments:

none


Notes:

none