GetWeaponAttackAnimation
From GECK
A function added by the Fallout Script Extender.
Contents
Description
Returns the attack animation of the Weapon BaseForm. If weapon is omitted and a calling reference is provided, that reference's BaseForm is used.
Return values are as follows:0: Default 1: Attack 3 2: Attack 4 3: Attack 5 4: Attack 6 5: Attack 7 6: Attack 8 7: Attack Left 8: Attack Loop 9: Attack Right 10: Attack Spin 11: Attack Spin 2 12: Attack Throw 13: Attack Throw 2 14: Attack Throw 3 15: Attack Throw 4 16: Attack Throw 5 17: Place Mine 18: Place Mine 2 19: Attack 9 20: Attack Throw 6 21: Attack Throw 7 22: Attack Throw 8
Syntax
(attackAnim:int) weaponRefr.GetWeaponAttackAnimation weapon:baseform
Or:
(attackAnim:int) weaponRefr.GetAttackAnim weapon:baseform
Example
set iAnim to GetWeaponAttackAnimation Weap10mmPistol