Difference between revisions of "GetWeaponItemModValue1"
Jump to navigation
Jump to search
imported>Odessa (created. Source; mostly educated guess..) |
imported>Odessa m (+ref) |
||
Line 5: | Line 5: | ||
|alias = | |alias = | ||
|returnType = EffectCode:int | |returnType = EffectCode:int | ||
|referenceType = | |referenceType = reference | ||
|arguments = {{FunctionArgument | |arguments = {{FunctionArgument | ||
|Name = ModSlot | |Name = ModSlot |
Latest revision as of 07:05, 15 August 2014
< [[::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
(EffectCode:int) reference.GetWeaponItemModValue1 ModSlot:int Weapon:form
Example
int EffectCode set EffectCode to GetWeaponItemModValue1 1, SomeWeapon
See Also
- Weapon Mod Codes
- GetWeaponItemModValue2 (for the second effect)
- GetEquippedWeaponModFlags