SetArmorArmorRating

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


A function added by the New Vegas Script Extender.

Description

Sets the Damage Resistance (Armor Rating) of the specified armor BaseForm.
The newDR argument is 100x the value of the effective DR.

Example: to set the armor to 20 DR, the newDR int must be 2000.

If called on an armor reference, will modify that armor's BaseForm.

Syntax

[help]
(none) reference.SetArmorArmorRating newDR:int Armor:form 

Or:

(none) reference.SetArmorAR newDR:int Armor:form

Example

SetArmorAR 2000, ArmorLeather 

See Also