- Found in:
- SKSE
Description
Wiki Description
Sets the armor rating of the armor to the specified value. (This function requires SKSE)
Caveats
CK Wiki - Notes
- Changes the base armor rating.
Parameters
intarmorRating
CK Wiki Description
The new rating for the armor. Negative values result in semi-random and large values for armor rating.
Examples
; Double the armor rating of the player's currently equipped cuirass
Armor BodyArmor = Game.GetPlayer().GetWornForm(0x00000004) as Armor
BodyArmor.SetArmorRating(BodyArmor.GetArmorRating() * 2); Set armor rating of Bob's shield to 100
Bob.GetEquippedShield().SetAR(100)Auto-Generated Example
int myInt__armorRating
myArmor__toCallFunctionOn.SetArmorRating(myInt__armorRating)Related Pages
- Armor
- Armor.GetArmorRating()
- Armor.ModArmorRating(...)
