Difference between revisions of "GetArmorDT"
Jump to navigation
Jump to search
m
no edit summary
imported>Rlilewis (Created page with "{{Function |origin = NVSE |summary = Called on a reference, gets the damage threshold of the specified inventory item |name = GetArmorDT |returnType = int |referenceType ...") |
imported>Rlilewis m |
||
Line 9: | Line 9: | ||
|Type = ref | |Type = ref | ||
}} | }} | ||
|example = ref myREF<br>ref myArmor<br>short myArmorDT<br><br>begin ScriptEffectStart<br><br>set myRef to this<br>set myArmor to myRef.GetEquippedObject 2 ; Get armor equipped at upper body location<br><br>set myArmorDT to ( | |example = ref myREF<br>ref myArmor<br>short myArmorDT<br><br>begin ScriptEffectStart<br><br>set myRef to this<br>set myArmor to myRef.GetEquippedObject 2 ; Get armor equipped at upper body location<br><br>set myArmorDT to (myRef.GetArmorDT myArmor)<br><br>end | ||
}} | }} | ||
==Notes== | ==Notes== | ||
* Armors in Fallout New Vegas primarily use Damage Threshold (GetArmorDT) unlike FO3 (GetArmorAR) | * Armors in Fallout New Vegas primarily use Damage Threshold (GetArmorDT) unlike FO3 (GetArmorAR) |