GetWeaponItemModValue2

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 second 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.GetWeaponItemModValue2 ModSlot:int Weapon:form

Example

int EffectCode

set EffectCode to GetWeaponItemModValue2 1, SomeWeapon

See Also