ModEquippedCurrentHealth
From The Elder Scrolls Construction Set Wiki
A command for Oblivion Script Extender
Syntax:
(nothing) reference.ModEquippedCurrentHealth modifyBy:float slot:short
Modifies the current health of the object in the specified equipment slot up or down.
Example:
float WeaponHealth set WeaponHealth to player.GetEquippedCurrentHealth 16 set WeaponHealth to ( 100 - WeaponHealth ) player.ModEquippedCurrentHealth WeaponHealth 16
Get the current health of the player's equipped weapon and then restore it to 100.
[edit] Slot IDs
armor/clothing 0 head 1 hair 2 upper body 3 lower body 4 hand 5 foot 6 right ring 7 left ring 8 amulet 13 shield 15 tail 255 no slot weapon/ammo 16 weapon 17 ammo
Special return values are used for getting the Equipment Type (Value Type 3) in GetOV, GetCV, GetEOV and GetECV
Special return values 18 both lower and upper body (robes)
Reserved values are currently nonfunctional and/or obsolete.
reserved 9 (weapon) 10 (back weapon) 11 (side weapon) 12 (quiver) 14 (torch)

