Enderal SE https://mod.pub/enderal-se/38-enderal-se
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
402 B
17 lines
402 B
Scriptname _00E_NQ06_ShadowAlias extends ReferenceAlias Hidden
|
|
|
|
GlobalVariable Property _00E_FathersShadowOwned Auto
|
|
|
|
Event OnPlayerLoadGame()
|
|
|
|
If (_00E_FathersShadowOwned.GetValue() as Int) > 0
|
|
|
|
String sShadowName = (GetOwningQuest() as _00E_NQ06_Functions).sFathersShadowName
|
|
|
|
if sShadowName != ""
|
|
(GetReference() as Actor).GetActorBase().SetName(sShadowName)
|
|
endif
|
|
|
|
EndIf
|
|
|
|
EndEvent
|
|
|