enderalse/scripts/source/tif__0013fa6d.psc

38 lines
1.1 KiB
Plaintext

;BEGIN FRAGMENT CODE - Do not edit anything between this and the end comment
;NEXT FRAGMENT INDEX 1
Scriptname TIF__0013FA6D Extends TopicInfo Hidden
;BEGIN FRAGMENT Fragment_0
Function Fragment_0(ObjectReference akSpeakerRef)
Actor akSpeaker = akSpeakerRef as Actor
;BEGIN CODE
Game.EnablePlayerControls()
GetOwningQuest().SetStage(25)
GetOwningQuest().SetObjectiveCompleted(30)
MQ13a.SetObjectiveCompleted(30)
If CQC04.IsCompleted() && !(CQC05.IsCompleted())
_00E_MQ13a_CaliaDump.SetValueInt(0)
_00E_MC_CaliaREF.Enable()
_00E_MC_CaliaREF.MoveTo(CQC05_SC01_CaliaSpawn)
_00E_MC_CaliaREF.EvaluatePackage()
CQC05.SetStage(5)
MQ13a.SetObjectiveDisplayed(20)
MQ13a.SetObjectiveDisplayed(25)
ElseIf CQC04.IsCompleted() && CQC05.IsCompleted()
MQ13a.SetObjectiveDisplayed(40)
Endif
;END CODE
EndFunction
;END FRAGMENT
;END FRAGMENT CODE - Do not edit anything between this and the begin comment
Quest Property CQC05 Auto
Quest Property CQC04 Auto
Quest Property MQ13a Auto
Actor Property _00E_MC_CaliaREF Auto
GlobalVariable Property _00E_MQ13a_CaliaDump Auto
ObjectReference Property CQC05_SC01_CaliaSpawn Auto