GetArmorAR

From the Oblivion ConstructionSet Wiki
Revision as of 00:23, 27 May 2008 by imported>Haama (Standardized)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

A command for Oblivion Script Extender

Syntax

[ref.]GetArmorAR [objectID]

Returns the armor rating of the calling reference or the base object; the base objectID takes precedence if both are supplied.

Notes

  • The value returned by this function is the armor rating as defined in the Construction Set, multiplied by 100.
  • The value does not take the wearer's skill into account.
  • Equivalent to the deprecated GetObjectValue function with an argument of 150.

See Also