2022-08-01 01:33:22 +00:00
|
|
|
Scriptname HealthBarManager Hidden
|
|
|
|
|
|
|
|
function Show(Actor akActor) global
|
2024-02-08 15:51:58 +00:00
|
|
|
if akActor && SKSE.GetVersion()
|
2022-08-03 22:24:55 +00:00
|
|
|
int handle = ModEvent.Create("Enderal_ShowActorHealth")
|
|
|
|
if handle
|
|
|
|
ModEvent.PushForm(handle, akActor)
|
|
|
|
ModEvent.Send(handle)
|
|
|
|
endIf
|
|
|
|
endif
|
2022-08-01 01:33:22 +00:00
|
|
|
endfunction
|
|
|
|
|
|
|
|
function Hide(Actor akActor) global
|
2024-02-08 15:51:58 +00:00
|
|
|
if akActor && SKSE.GetVersion()
|
2022-08-03 22:24:55 +00:00
|
|
|
int handle = ModEvent.Create("Enderal_HideActorHealth")
|
|
|
|
if handle
|
|
|
|
ModEvent.PushForm(handle, akActor)
|
|
|
|
ModEvent.Send(handle)
|
|
|
|
endIf
|
|
|
|
endif
|
2022-08-01 01:33:22 +00:00
|
|
|
endfunction
|