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
368 B
17 lines
368 B
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
|
|
|