enderalse/source/scripts/HealthBarManager.psc

22 lines
455 B
Plaintext

Scriptname HealthBarManager Hidden
function Show(Actor akActor) global
if akActor
int handle = ModEvent.Create("Enderal_ShowActorHealth")
if handle
ModEvent.PushForm(handle, akActor)
ModEvent.Send(handle)
endIf
endif
endfunction
function Hide(Actor akActor) global
if akActor
int handle = ModEvent.Create("Enderal_HideActorHealth")
if handle
ModEvent.PushForm(handle, akActor)
ModEvent.Send(handle)
endIf
endif
endfunction