Difference between revisions of "GetCurrentHealth"
Jump to navigation
Jump to search
imported>WereWolf (Add 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:''' | |||
(health:float) ''reference.''GetCurrentHealth | |||
Returns the current health of the calling reference. | Returns the current health of the calling reference. | ||
'''Example:''' | '''Example:''' | ||
ref Weapon | ref Weapon |
Revision as of 13:21, 14 September 2007
A command for Oblivion Script Extender
Syntax:
(health:float) reference.GetCurrentHealth
Returns the current health of the calling reference.
Example:
ref Weapon float WeaponHealth set Weapon to player.GetEquippedObject 16 set WeaponHealth to Weapon.GetCurrentHealth
Get the current health of the player's equipped weapon.