SetWeaponItemModValue

Revision as of 19:06, 27 March 2015 by imported>Jazzisparis (Created page with "{{Function |origin = JIP |summary = Sets a weapon's mod effect value at the specified index. |name = SetWeaponItemModValue |returnType = effectValue:float |arguments =...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
< [[::Category:Functions|Category:Functions]]

A function added by the JIP NVSE Plugin.

Description

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

Syntax

(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