SetWeaponResistType

From GECK

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

(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

Personal tools