Background for Skyrim SE
Member of the Armor script
intfunctionGetArmorRating()Native

Description

Wiki Description

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

Documentation Comment

SKSE64 additions built 2024-01-17 20:01:40.731000 UTC


Caveats

CK Wiki - Notes

  • The return value is the base armor rating.

Examples

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

Auto-Generated Example

int returnedValue = myArmor__toCallFunctionOn.GetArmorRating()

Related Pages


Additional References

View this function’s page on the Skyrim Creation Kit Wiki

Some data provided by the Skyrim Creation Kit Wiki. Licensed under the Creative Commons Attribution-ShareAlike license.