GetWeaponVATSTraitNumeric

From GECK
Jump to: navigation, search


A function added by the JohnnyGuitar NVSE Plugin.

Description

Returns the value of a weapon's numeric VATS Data trait (determined by traitID).

Syntax

[help]
(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.

See Also