30 lines
1.1 KiB
Plaintext
30 lines
1.1 KiB
Plaintext
Scriptname _00E_StopBardDialogueOnLocChange extends ReferenceAlias
|
|
|
|
Quest Property BardDialogue Auto
|
|
Location Property _00E_FlusshaimTaverneLocation Auto
|
|
Location Property _00E_UEEntr_FalseDog_Location Auto
|
|
Location Property _00E_DunehomeInteriorLocation Auto
|
|
Location Property CapitalCityTheFatLeoranLocation Auto
|
|
Location Property BauernkuesteRoterOchseLocation Auto
|
|
Location Property _00E_SuntempleQuarters Auto
|
|
Location Property SchneefelstaverneInteriorLocation Auto
|
|
_00E_QuestFunctions Property Levelsystem Auto
|
|
|
|
ReferenceAlias Property SingingBard Auto
|
|
|
|
Event OnLocationChange(Location akOldLoc, Location akNewLoc)
|
|
|
|
if akOldLoc == akNewLoc
|
|
return
|
|
endif
|
|
|
|
if akOldLoc == _00E_FlusshaimTaverneLocation || akOldLoc == _00E_UEEntr_FalseDog_Location || akOldLoc == _00E_DunehomeInteriorLocation || akOldLoc == CapitalCityTheFatLeoranLocation || akOldLoc == BauernkuesteRoterOchseLocation || akOldLoc == _00E_SuntempleQuarters || akOldLoc == SchneefelstaverneInteriorLocation
|
|
if SingingBard.GetActorRef() != None
|
|
SingingBard.GetActorRef().SetGhost(False)
|
|
endif
|
|
if BardDialogue != None
|
|
BardDialogue.Stop()
|
|
endif
|
|
endif
|
|
|
|
endEvent |