Call of Duty 4: Scripting Reference - AI::SetLookAtYawLimits
From COD Modding & Mapping Wiki
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:
- <look anim yaw max> The maximim yaw for the animation
- <look yaw limit> The maximim limit for the actual look at.
- <blendtime>The blend time for looking in seconds.
Optional arguments:
- none
Notes:
- none