2021-10-05 22:15:58 +00:00
|
|
|
;BEGIN FRAGMENT CODE - Do not edit anything between this and the end comment
|
|
|
|
;NEXT FRAGMENT INDEX 2
|
|
|
|
Scriptname QF_BardStart_00149591 Extends Quest Hidden
|
|
|
|
|
|
|
|
;BEGIN ALIAS PROPERTY Location
|
|
|
|
;ALIAS PROPERTY TYPE LocationAlias
|
|
|
|
LocationAlias Property Alias_Location Auto
|
|
|
|
;END ALIAS PROPERTY
|
|
|
|
|
|
|
|
;BEGIN ALIAS PROPERTY Bard
|
|
|
|
;ALIAS PROPERTY TYPE ReferenceAlias
|
|
|
|
ReferenceAlias Property Alias_Bard Auto
|
|
|
|
;END ALIAS PROPERTY
|
|
|
|
|
|
|
|
;BEGIN FRAGMENT Fragment_0
|
|
|
|
Function Fragment_0()
|
|
|
|
;BEGIN CODE
|
2021-10-05 22:59:59 +00:00
|
|
|
Scene lastSongScene = (BardDialogue as _00E_BardDialogueFunctions).LastSongScene1
|
|
|
|
|
|
|
|
BardAudience.Stop()
|
|
|
|
|
|
|
|
; Terminate BardDialogue if it's running
|
|
|
|
If BardDialogue.IsRunning()
|
|
|
|
BardDialogue.Stop()
|
|
|
|
Utility.WaitMenuMode(0.1)
|
|
|
|
EndIf
|
|
|
|
|
|
|
|
Int iTimeoutCounter = 0
|
|
|
|
While BardDialogue.IsStopped() == False && iTimeoutCounter < 60
|
|
|
|
Utility.WaitMenuMode(0.1)
|
|
|
|
iTimeoutCounter += 1
|
|
|
|
EndWhile
|
|
|
|
|
|
|
|
; Start BardDialogue again (with the new bard)
|
|
|
|
Actor akBard = alias_Bard.GetActorRef()
|
|
|
|
If akBard
|
|
|
|
BardDialogue.Start()
|
|
|
|
(BardDialogue as _00E_BardDialogueFunctions).Setup(akBard, lastSongScene)
|
|
|
|
EndIf
|
|
|
|
|
|
|
|
Stop()
|
2021-10-05 22:15:58 +00:00
|
|
|
;END CODE
|
|
|
|
EndFunction
|
|
|
|
;END FRAGMENT
|
|
|
|
|
|
|
|
;END FRAGMENT CODE - Do not edit anything between this and the begin comment
|
|
|
|
|
2021-10-05 22:59:59 +00:00
|
|
|
Quest Property BardDialogue Auto
|
|
|
|
Quest Property BardAudience Auto
|