Separated companions health bar controller

This commit is contained in:
Eddoursul 2024-01-17 21:16:51 +01:00
parent 43f0c304da
commit f4b55f995d
5 changed files with 10 additions and 1 deletions

Binary file not shown.

Binary file not shown.

View File

@ -0,0 +1,10 @@
scriptname _00E_GUI_ActorHealthBar_Alias extends ReferenceAlias
; EVENTS -----------------------------------------------------------------------------------------
event OnPlayerLoadGame()
Quest bSkyUI = Game.GetFormFromFile(0x802, "SkyUI_SE.esp") as Quest
if bSkyUI
(GetOwningQuest() as _00E_GUI_ActorHealthBar).OnGameReload()
endif
endEvent

View File

@ -5,7 +5,6 @@ scriptname _00E_SKI_PlayerLoadGameAlias extends ReferenceAlias
event OnPlayerLoadGame()
Quest bSkyUI = Game.GetFormFromFile(0x802, "SkyUI_SE.esp") as Quest
if bSkyUI
(GetOwningQuest() as _00E_GUI_ActorHealthBar).OnGameReload()
(GetOwningQuest() as _00E_EnderalMCM).OnGameReload()
endif
endEvent