GetWeaponItemModEffect

From GECK
Jump to: navigation, search


A function added by the New Vegas Script Extender.

Description

Returns the mod effect used by a weapon in a specified mod slot (1-3).

Syntax

[help]
(effect:int) reference.GetWeaponItemModEffect modSlot:int(1-3) weapon:form 

Example

int ModEffect
set ModEffect to GetWeaponItemModEffect 1 WeapNV9mmPistol

Returns the following values:

Mod Effect

  • 0 = None
  • 1 = Increase Weapon Damage
  • 2 = Increase Clip Capacity
  • 3 = Decrease Spread
  • 4 = Decrease Weight
  • 5 = Regenerate Ammo (shots)
  • 6 = Regenerate Ammo (seconds)
  • 7 = Decrease Equip Time
  • 8 = Increase Rate of Fire
  • 9 = Increase Projectile Speed
  • 10 = Increase Max. Condition
  • 11 = Silence
  • 12 = Split Beam
  • 13 = VATS Bonus
  • 14 = Increase Zoom
  • 15 = <Unknown>
  • 16 = Suppressor

See Also