1
Fork 0
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.
 
 
 

30 lines
1.1 KiB

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