22 lines
497 B
Plaintext
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
|