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

From COD Modding & Mapping Wiki
Share/Save/Bookmark
Revision as of 00:20, 31 July 2009 by CoDEmanX (talk | contribs) (New page: {{Function |Version=4 |Name=UpdateProne( <animation A> , <animation B>, <goal weight>, <goal time>, <rate> ) |Module=AI |Available=SP Only |Summary=Set the ac...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search


UpdateProne( <animation A> , <animation B>, <goal weight>, <goal time>, <rate> )

Module: AI
SP Only

Summary:

Set the actor to exit the prone position.


Call this on: <actor> An actor

Example:

self UpdateProne( %prone_shootfeet_straight45up, %prone_shootfeet_straight45down, 1, 0.05, 1 );

Required arguments:

  1. <animation A> The first animation to lerp between.
  2. <animation B> The second animation to lerp between.
  3. <goal weight> The blend amount between the two animations.
  4. <goal time> The time to lerp to the new blend.
  5. <rate> The animation play rate.


Optional arguments:

none


Notes:

none