SetWeaponResistType

From GECK
Jump to: navigation, search


A function added by the New Vegas Script Extender.

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

[help]
(none) weaponRefr.SetWeaponResistType ResistanceCode:int weapon:baseForm 

Or:

(none) weaponRefr.SetWeaponResist ResistanceCode:int weapon:baseForm

Example

SetWeaponResistType 61, Weap10mmPistol ; * 61 is EMP resistance. 

See Also