enderalse/source/scripts/HealthBarManager.psc
2024-02-08 17:03:42 +01:00

22 lines
497 B
Plaintext

Scriptname HealthBarManager Hidden
function Show(Actor akActor) global
if akActor && SKSE.GetVersion()
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 && SKSE.GetVersion()
int handle = ModEvent.Create("Enderal_HideActorHealth")
if handle
ModEvent.PushForm(handle, akActor)
ModEvent.Send(handle)
endIf
endif
endfunction