Difference between revisions of "ModEquippedCurrentHealth"

Jump to navigation Jump to search
268 bytes added ,  15:38, 9 September 2007
Added example
imported>WereWolf
(New page: A command for Oblivion Script Extender Modifies the current health of the object in the specified equipment slot up or down. '''Syntax:''' (nothin...)
 
imported>WereWolf
(Added example)
Line 5: Line 5:
'''Syntax:'''
'''Syntax:'''
  (nothing) ''reference.''ModEquippedCurrentHealth modifyBy:float slot:short  
  (nothing) ''reference.''ModEquippedCurrentHealth modifyBy:float slot:short  
'''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.


{{OBSE_SLotIDs}}
{{OBSE_SLotIDs}}
Anonymous user

Navigation menu