Gaming
 

ActionPlayAnimation

From NWN2Wiki

// 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)
void ActionPlayAnimation(int nAnimation, float fSpeed=1.0, float fDurationSeconds=0.0);

WARNING: Some of the constants from ANIMATION_* have been removed and thus any imported script which uses those constants will fail to compile