Difference between revisions of "GetCurrentHealth"
Jump to navigation
Jump to search
Add example
imported>WereWolf (New page: A command for Oblivion Script Extender Returns the current health of the calling reference. '''Syntax:''' (health:float) ''reference.''GetCurrentH...) |
imported>WereWolf (Add example) |
||
Line 5: | Line 5: | ||
'''Syntax:''' | '''Syntax:''' | ||
(health:float) ''reference.''GetCurrentHealth | (health:float) ''reference.''GetCurrentHealth | ||
'''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. | |||
[[Category:Functions]] | [[Category:Functions]] |