GetWeaponVATSTraitNumeric
From GECK
A function added by the JohnnyGuitar NVSE Plugin.
Description
Returns the value of a weapon's numeric VATS Data trait (determined by traitID).
Syntax
(traitValue:float) GetWeaponVATSTraitNumeric weapon:ref traitID:int{1-5}
Weapon VATS Data Trait IDs
1 Skill 2 Damage Mult 3 AP 4 Silent 5 Mod Required
Example
GetWeaponVATSTraitNumeric WeapBaseballBat 2
Will return the Damage Multiplier value for special attacks in VATS when using WeapBaseballBat.