Separated companions health bar controller
This commit is contained in:
parent
43f0c304da
commit
f4b55f995d
BIN
Separated health bar controls.esp
Normal file
BIN
Separated health bar controls.esp
Normal file
Binary file not shown.
BIN
scripts/_00e_gui_actorhealthbar_alias.pex
Normal file
BIN
scripts/_00e_gui_actorhealthbar_alias.pex
Normal file
Binary file not shown.
Binary file not shown.
10
source/scripts/_00e_gui_actorhealthbar_alias.psc
Normal file
10
source/scripts/_00e_gui_actorhealthbar_alias.psc
Normal 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
|
@ -5,7 +5,6 @@ scriptname _00E_SKI_PlayerLoadGameAlias extends ReferenceAlias
|
|||||||
event OnPlayerLoadGame()
|
event OnPlayerLoadGame()
|
||||||
Quest bSkyUI = Game.GetFormFromFile(0x802, "SkyUI_SE.esp") as Quest
|
Quest bSkyUI = Game.GetFormFromFile(0x802, "SkyUI_SE.esp") as Quest
|
||||||
if bSkyUI
|
if bSkyUI
|
||||||
(GetOwningQuest() as _00E_GUI_ActorHealthBar).OnGameReload()
|
|
||||||
(GetOwningQuest() as _00E_EnderalMCM).OnGameReload()
|
(GetOwningQuest() as _00E_EnderalMCM).OnGameReload()
|
||||||
endif
|
endif
|
||||||
endEvent
|
endEvent
|
||||||
|
Loading…
Reference in New Issue
Block a user