Difference between revisions of "ModEquippedCurrentHealth"
Jump to navigation
Jump to search
no edit summary
imported>WereWolf (Added example) |
imported>WereWolf |
||
Line 1: | Line 1: | ||
A command for [[:Category:Oblivion Script Extender|Oblivion Script Extender]] | A command for [[:Category:Oblivion Script Extender|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. | Modifies the current health of the object in the specified equipment slot up or down. | ||
'''Example:''' | '''Example:''' | ||
float WeaponHealth | float WeaponHealth | ||
Line 11: | Line 12: | ||
player.ModEquippedCurrentHealth WeaponHealth 16 | player.ModEquippedCurrentHealth WeaponHealth 16 | ||
Get the current health of the player's equipped weapon and then restore it to 100. | Get the current health of the player's equipped weapon and then restore it to 100. | ||
{{OBSE_SLotIDs}} | {{OBSE_SLotIDs}} |