GetArmorRating - Armor
Revision as of 11:53, 10 May 2012 by imported>Fg109 (→See Also)
SKSE Member of: Armor Script
Gets the armor rating of the armor. (This function requires SKSE)
Syntax
float Function GetArmorRating() native
float Function GetAR()
Parameters
- None
Return Value
The armor rating of the armor.
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()