GetArmorRating - Armor

From Creation Kit
Jump to: navigation, search

SKSE Member of: Armor Script

Gets the armor rating of the armor. (This function requires SKSE)


float Function GetArmorRating() native
float Function GetAR()


  • None

Return Value

The armor rating of the armor.


; 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()


  • The return value is the base armor rating.

See Also