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

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


SetLookAtAnimNodes( <look straight animation> , <look left animation>, <look right animation> )

Module: AI
SP Only

Summary:

Set the animation nodes for this actor for looking at things to the left and right.


Call this on: <actor> An actor

Example:

self SetLookAtAnimNodes( %look_straight, %look_left, %look_right );

Required arguments:

  1. <look straight animation> The look straight animation
  2. <look left animation> The look left animation.
  3. <look right animation> The look rigth animation.


Optional arguments:

none


Notes:

none