Call of Duty 4: Scripting Reference - AI::SetAimAnims
From COD Modding & Mapping Wiki
SetAimAnims( <aim low>, <aim level>, <aim high>, <shoot low>, <shoot level>, <shoot high> )
Module: AI
SP Only
Summary:
Sets the aim animations for this actor
Call this on: <actor> An actor
Example:
self SetAimAnims( anims["aim_down"], anims["aim_straight"], anims["aim_up"], anims["shoot_down"], anims["shoot_straight"], anims["shoot_up"] );
Required arguments:
- <aim low> The animation to play for the actor aiming low
- <aim level> The animation to play for the actor aiming straight
- <aim high> The animation to play for the actor aiming high
- <shoot low> The animation to play for the actor shooting low
- <shoot level> The animation to play for the actor shooting straight
- <shoot high> The animation to play for the actor shooting high
Optional arguments:
- none
Notes:
- none