Difference between revisions of "GetArmorDT"
Jump to navigation
Jump to search
Fixed poor wording/inaccuracies
imported>Odessa (Added categroy, NVSE version and see also) |
imported>Odessa (Fixed poor wording/inaccuracies) |
||
Line 1: | Line 1: | ||
{{Function | {{Function | ||
|origin = NVSE | |origin = NVSE | ||
|summary = | |summary = Returns the Damage Threshold of the specified armor [[base form]], or a [[calling reference]] Added by NVSE 1.2. | ||
|name = GetArmorDT | |name = GetArmorDT | ||
|returnType = int | |returnType = int | ||
|referenceType = reference | |referenceType = reference | ||
|arguments = {{FunctionArgument | |arguments = {{FunctionArgument | ||
|Name = | |Name = Armor | ||
|Type = | |Type = form | ||
|Optional = y | |||
}} | }} | ||
}} | }} | ||
==Example== | |||
<pre> | |||
int iDT | |||
set iDT to GetArmorDT ArmorLeather | |||
</pre> | |||
==Notes== | ==Notes== | ||
* Armors in Fallout New Vegas primarily use Damage Threshold | * Armors in Fallout New Vegas primarily use Damage Threshold, unlike FO3 which use Damage Resistance, or 'Armor Rating', this can be retrieved using [[GetArmorArmorRating|GetArmorAR]]. | ||
==See Also== | ==See Also== | ||
*[[SetArmorDT]] | *[[SetArmorDT]] | ||
*[[GetArmorArmorRating|GetArmorAR]] | *[[GetArmorArmorRating|GetArmorAR]] (Damage Resistance) | ||
[[Category:Functions_(NVSE)]] | [[Category:Functions_(NVSE)]] |