GetArmorDT
Revision as of 12:31, 29 March 2014 by imported>Rlilewis
< [[::Category:Functions|Category:Functions]]
A function added by the New Vegas Script Extender.
Description
Called on a reference, gets the damage threshold of the specified inventory item
Syntax
(int) reference.GetArmorDT objectID:ref
Example
ref myREF
ref myArmor
short myArmorDT
begin ScriptEffectStart
set myRef to this
set myArmor to myRef.GetEquippedObject 2 ; Get armor equipped at upper body location
set myArmorDT to (myRef.GetArmorDT myArmor)
end
Notes
- Armors in Fallout New Vegas primarily use Damage Threshold (GetArmorDT) unlike FO3 (GetArmorAR)