parent
99c3d3a01d
commit
5bbb5f75af
2 changed files with 14 additions and 10 deletions
Binary file not shown.
@ -1,17 +1,21 @@ |
|||||||
Scriptname HealthBarManager Hidden |
Scriptname HealthBarManager Hidden |
||||||
|
|
||||||
function Show(Actor akActor) global |
function Show(Actor akActor) global |
||||||
int handle = ModEvent.Create("Enderal_ShowActorHealth") |
if akActor |
||||||
if handle |
int handle = ModEvent.Create("Enderal_ShowActorHealth") |
||||||
ModEvent.PushForm(handle, akActor) |
if handle |
||||||
ModEvent.Send(handle) |
ModEvent.PushForm(handle, akActor) |
||||||
endIf |
ModEvent.Send(handle) |
||||||
|
endIf |
||||||
|
endif |
||||||
endfunction |
endfunction |
||||||
|
|
||||||
function Hide(Actor akActor) global |
function Hide(Actor akActor) global |
||||||
int handle = ModEvent.Create("Enderal_HideActorHealth") |
if akActor |
||||||
if handle |
int handle = ModEvent.Create("Enderal_HideActorHealth") |
||||||
ModEvent.PushForm(handle, akActor) |
if handle |
||||||
ModEvent.Send(handle) |
ModEvent.PushForm(handle, akActor) |
||||||
endIf |
ModEvent.Send(handle) |
||||||
|
endIf |
||||||
|
endif |
||||||
endfunction |
endfunction |
||||||
|
Loading…
Reference in new issue