SetWeaponAnimationPath

From GECK
Jump to: navigation, search


A function added by the kNVSE Plugin.

Description

Replaces an animation for a specified weapon base form. The anim group that is overridden is specified in the KF file of the given path.

Syntax

[help]
(success:0/1) SetWeaponAnimationPath weapon:baseForm firstPerson:0/1 enable:0/1 path:string

Example

SetWeaponAnimationPath WeapNV9mmPistol 0 1 "characters\_male\TestAnims\1hpAttack7.kf" 

Notes

  • This function stacks so if two mod override the same anim group on the same weapon, the previous override will be restored once the other mod disables it's animation override.

See Also