GetWeaponItemModValue1

From GECK

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

(EffectCode:int) reference.GetWeaponItemModValue1 ModSlot:int Weapon:form

Example

int EffectCode

set EffectCode to GetWeaponItemModValue1 1, SomeWeapon

See Also

Personal tools