2022-08-01 01:33:22 +00:00
|
|
|
Scriptname HealthBarManager Hidden
|
|
|
|
|
|
|
|
function Show(Actor akActor) global
|
2022-08-03 22:24:55 +00:00
|
|
|
if akActor
|
|
|
|
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
|
2022-08-03 22:24:55 +00:00
|
|
|
if akActor
|
|
|
|
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
|