enderalse/source/scripts/tif__00140027.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__00140027 Extends TopicInfo Hidden
;BEGIN FRAGMENT Fragment_0
Function Fragment_0(ObjectReference akSpeakerRef)
Actor akSpeaker = akSpeakerRef as Actor
;BEGIN CODE
Game.EnablePlayerControls()
GetOwningQuest().SetStage(60)
MQ13a.SetObjectiveCompleted(20)
If CQJ04.IsCompleted() && !(CQJ05.IsCompleted())
_00E_MQ13a_JesparDump.SetValueInt(0)
_00E_MC_JesparREF.Enable()
_00E_MC_JesparREF.MoveTo(MQ13a_SC07_JesparLeanMarker)
_00E_MC_JesparREF.EvaluatePackage()
MQ13a.SetObjectiveDisplayed(30)
MQ13a.SetObjectiveDisplayed(35)
CQJ05.SetStage(5)
ElseIf CQJ04.IsCompleted() && CQJ05.IsCompleted()
MQ13a.SetObjectiveDisplayed(40)
Endif
Game.SetPlayerAiDriven(False)
;END CODE
EndFunction
;END FRAGMENT
;END FRAGMENT CODE - Do not edit anything between this and the begin comment
Quest Property CQJ05 Auto
Quest Property CQJ04 Auto
Quest Property MQ13a Auto
Actor Property _00E_MC_JesparREF Auto
GlobalVariable Property _00E_MQ13a_JesparDump Auto
ObjectReference Property MQ13a_SC07_JesparLeanMarker Auto