GetWeaponItemMod

From the Fallout3 GECK Wiki
Jump to navigation Jump to search
< [[::Category:Functions|Category:Functions]]

A function added by the New Vegas Script Extender.

Description

Returns the base form of the weapon mod at the specified slot index (1, 2 or 3) for the specified weapon or calling reference. Added by NVSE 1.2.

Syntax

[help]
(form) GetWeaponItemMod ItemMod:int Weapon:form

Example

ref rMod

set rMod to GetWeaponItemMod 1, SomeWeapon

See Also