enderalse/source/scripts/HealthBarManager.psc

22 lines
497 B
Plaintext
Raw Normal View History

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