AnimScripted( <notify>, <origin>, <angles>, <animation>, <mode>, <root> )


Module: Animation
SP Only

Summary:

Runs an animscript on an entity.



Call this on:

<entity> The entity to run the animscript on



Example:

driver AnimScripted( "germantruck_driver_closedoor", org , angles, driver.closedooranim );



Required Args:

  • 1 : <notify> The notify to send
  • 2 : <origin> The starting position of the anim script
  • 3 : <angles> The starting angle of the anim script
  • 4 : <animation> The animation


Optional Args

  • 1 : <mode> Valid modes are "normal" and "deathplant"
  • 2 : <root> The root animation