GetWeaponItemModValue1

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 code number for the first effect provided by the mod at the specifed slot (1, 2 or 3) on the specified weapon or calling reference. Added by NVSE 2.10.

Syntax

[help]
(EffectCode:int) reference.GetWeaponItemModValue1 ModSlot:int Weapon:form

Example

int EffectCode

set EffectCode to GetWeaponItemModValue1 1, SomeWeapon

See Also