Call of Duty 4: Scripting Reference - AI::SetProneAnimNodes
From COD Modding & Mapping Wiki
SetProneAnimNodes( <down angle>, <up angle>, <low prone animation> , <straight prone animation>, <high prone animation> )
Module: AI
SP Only
Summary:
Set the prone animation nodes, as well as highest and lowest possible aim angles for this character.
Call this on: <actor> An actor
Example:
self SetProneAnimNodes( -45, 45, %prone_legsdown, %prone_legsstraight, %prone_legsup );
Required arguments:
- <down angle>(float) The lowest allowable pitch in degrees for aiming. Must be less than 0
- <up angle>(float) The highest allowable pitch in degrees for aiming. Must be greater than 0
- <low prone animation> The low prone animation.
- <straight prone animation> The straight prone animation.
- <high prone animation> The high prone animation.
Optional arguments:
- none
Notes:
- none