SetWeaponResistType

From the Fallout3 GECK Wiki
Jump to navigation Jump to search
< [[::Category:Functions|Category:Functions]]

A function added by the New Vegas Script Extender.

Description

Sets the resist type, which is specified by its AV code number for the specified weapon or calling reference. Added by NVSE 1.2.

Syntax

[help]
(none) reference.SetWeaponResistType ResistanceCode:int Weapon:form 

Or:

(none) reference.SetWeaponResist ResistanceCode:int Weapon:form

Example

SetWeaponResistType 61, Weap10mmPistol ; * 61 is EMP resistance.

See Also