SetWeaponResistType
From GECK
A function added by the New Vegas Script Extender.
Contents
Description
Sets the resist type for the Weapon BaseForm. If weapon is omitted and a calling reference is provided, that reference's BaseForm is used.
The new Resist Type is specified by its AV code number.
Syntax
(none) weaponRefr.SetWeaponResistType ResistanceCode:int weapon:baseForm
Or:
(none) weaponRefr.SetWeaponResist ResistanceCode:int weapon:baseForm
Example
SetWeaponResistType 61, Weap10mmPistol ; * 61 is EMP resistance.