18 lines
402 B
Plaintext
18 lines
402 B
Plaintext
|
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
|