GetWeaponResistType

From GECK
(Redirected from GetWeaponResist)
Jump to: navigation, search


A function added by the Fallout Script Extender.

Description

Returns the resist type for the Weapon BaseForm. If weapon is omitted and a calling reference is provided, that reference's BaseForm is used.

Resist Types are ActorValues, and the function returns this ActorValue as an Actor Value Code.

Syntax

[help]
(int) refr.GetWeaponResistType weapon:baseform 

Or:

(int) refr.GetWeaponResist weapon:baseform 

See Also