SetWeaponItemModEffect
From GECK
A function added by the JIP NVSE Plugin.
Contents
Description
Sets a weapon's mod effect ID at the specified index.
Mod Effect IDs:
0 None 1 Increase Weapon Damage 2 Increase Clip Capacity 3 Decrease Spread 4 Decrease Weight 6 Regenerate Ammo 7 Decrease Equip Time 8 Increase Rate of Fire 9 Increase Projectile Speed 10 Increase Max. Condition 11 Silence 12 Split Beam 13 VATS Bonus 14 Increase Zoom (Scope)
Syntax
(effectID:int) SetWeaponItemModEffect weapon:ref index:int{1-3} newEffectID:int{0-14}
Example
SetWeaponItemModEffect WeapNVAssaultCarbine 2 3
Will set the Assault Carbine's #2 mod effect to Decrease Spread.