SetWeaponItemMod
Jump to navigation
Jump to search
< [[::Category:Functions|Category:Functions]]
A function added by the JIP NVSE Plugin.
Description
Sets a weapon's mod form at the specified index.
Syntax
(itemMod:ref) SetWeaponItemMod weapon:ref index:int{1-3} newItemMod:ref
Example
SetWeaponItemMod WeapNVAssaultCarbine 2 ModNV10mmPistolSilencer
Will set the #2 mod item of WeapNVAssaultCarbine to ModNV10mmPistolSilencer.
SetWeaponItemMod WeapNVAssaultCarbine 3
Will set the #3 mod item of WeapNVAssaultCarbine to None.