SetWeaponResistType

From the Fallout3 GECK Wiki
Revision as of 16:14, 14 August 2014 by imported>Odessa (created. source gribbleshnibbit + me)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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