18 lines
368 B
Plaintext
18 lines
368 B
Plaintext
Scriptname _00E_NQ06_DonkeyAlias extends ReferenceAlias Hidden
|
|
|
|
GlobalVariable Property _00E_MuleOwned Auto
|
|
|
|
Event OnPlayerLoadGame()
|
|
|
|
If (_00E_MuleOwned.GetValue() as Int) > 0
|
|
|
|
String sMuleName = (GetOwningQuest() as _00E_NQ06_Functions).sMuleName
|
|
|
|
if sMuleName != ""
|
|
(GetReference() as Actor).GetActorBase().SetName(sMuleName)
|
|
endif
|
|
|
|
EndIf
|
|
|
|
EndEvent
|