Djinni Wiki

function ActionPlayAnimation (int nAnimation, float fSpeed=1.0, float fDurationSeconds=0.0)

Cause the action subject to play an animation

  • nAnimation: ANIMATION_*
  • fSpeed: Speed of the animation
  • fDurationSeconds: Duration of the animation (this is not used for Fire and Forget animations)
  • Return type: void
  • Include file: nwscriptdefn