SetWeaponVATSTraitNumeric

From GECK
Jump to: navigation, search


A function added by the JohnnyGuitar NVSE Plugin.

Description

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

Syntax

[help]
(traitValue:float) SetWeaponVATSTraitNumeric weapon:ref traitID:int{1-5} newValue:float

Weapon VATS Data Trait IDs

1	Skill
2	Damage Mult
3	AP
4	Silent
5	Mod Required

Example

SetWeaponVATSTraitNumeric WeapBaseballBat 2 5

Will set the Damage Multiplier value for special attacks in VATS when using WeapBaseballBat to 5.

See Also