EquippedWeaponHasModType
From GECK
A function added by the JIP NVSE Plugin.
Description
Returns whether or not the calling reference's equipped weapon has a weapon mod, of the specified effect type, attached.
Syntax
(hasModType:0/1) reference.EquippedWeaponHasModType modType:int{1-16}
Weapon Mod Type IDs
1 Increase 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 Silencer 12 Split Beam 13 VATS Bonus 14 Increase Zoom (Scope) 16 Suppressor
Example
set bWeaponSilenced to actorRef.EquippedWeaponHasModType 11
Notes
- This function can be used as a condition function (where applicable).