SetWeaponItemModValue

From GECK
Jump to: navigation, search


A function added by the JIP NVSE Plugin.

Description

Sets a weapon's mod effect value at the specified index.

Syntax

[help]
(effectValue:float) SetWeaponItemModValue weapon:ref index:int{1-3} newEffectValue:float

Example

SetWeaponItemModValue WeapNVAssaultCarbine 2 6.0

Will set the Assault Carbine's #2 mod effect value to 6.0.

See Also