Difference between revisions of "Talk:GetItemHealthPercent - ObjectReference"

Jump to navigation Jump to search
imported>Oss133
imported>Oss133
Line 11: Line 11:
This is the script which I have added to the Iron Dagger
This is the script which I have added to the Iron Dagger


Scriptname aaHCMWARWepScript extends ObjectReference
 
Scriptname aaHCMWARWepScript extends ObjectReference
 
Event OnEquipped(Actor akActor)
Event OnEquipped(Actor akActor)
If akActor == Game.GetPlayer()
 
Debug.Notification("Item has " + GetItemHealthPercent() + " Health")
If akActor == Game.GetPlayer()
Endif
 
endEvent
Debug.Notification("Item has " + GetItemHealthPercent() + " Health")
 
EndifendEvent
 


Where do I find the Error Log?
Where do I find the Error Log?
Anonymous user

Navigation menu