GetArmorRating - Armor
SKSE Member of: Armor Script
Gets the armor rating of the armor. (This function requires SKSE)
SyntaxEdit
float Function GetArmorRating() native
float Function GetAR()
ParametersEdit
- None
Return ValueEdit
The armor rating of the armor.
ExamplesEdit
; Obtain the armor rating of the player's currently equipped cuirass
Armor BodyArmor = Game.GetPlayer().GetWornForm(0x00000004) as Armor
int AR = BodyArmor.GetArmorRating()
; Obtain armor rating of Bob's shield
int AR = Bob.GetEquippedShield().GetAR()
NotesEdit
- The return value is the base armor rating.