enderalse/scripts/source/sf_barddialogue_song10_00023073.psc

46 lines
1.2 KiB
Plaintext

;BEGIN FRAGMENT CODE - Do not edit anything between this and the end comment
;NEXT FRAGMENT INDEX 5
Scriptname SF_BardDialogue_Song10_00023073 Extends Scene Hidden
;BEGIN FRAGMENT Fragment_0
Function Fragment_0()
;BEGIN CODE
BardAudience.SetStage(10)
;END CODE
EndFunction
;END FRAGMENT
;BEGIN FRAGMENT Fragment_2
Function Fragment_2()
;BEGIN CODE
;SingingBard.GetActorRef().PlayIdle(IdleLuteStart)
Debug.SendAnimationEvent(SingingBard.GetActorRef(), "IdleLuteStart")
;END CODE
EndFunction
;END FRAGMENT
;BEGIN FRAGMENT Fragment_1
Function Fragment_1()
;BEGIN CODE
if SingingBard.GetActorRef() == None
return
endif
SingingBard.GetActorRef().PlayIdle(IdleStop)
BardAudience.SetStage(100)
;audience cheers at the end
(GetOwningQuest() as _00E_BardDialogueFunctions).PlaySong(SingingBard.GetReference(),ChangeSettings = False)
;END CODE
EndFunction
;END FRAGMENT
;END FRAGMENT CODE - Do not edit anything between this and the begin comment
ReferenceAlias Property SingingBard Auto
ReferenceAlias Property Accompanist01 Auto
ReferenceAlias Property Accompanist02 Auto
Idle Property IdleStop Auto
Quest Property BardAudience Auto
Idle Property IdleLuteStart Auto
Idle Property IdleDrumStart Auto
Idle Property IdleFluteStart Auto