4
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.
 
 
 

37 lines
759 B

Scriptname _00E_MQ11bBookSCN extends ObjectReference
; This is a script placed on the three "testimonies" of the victims
; in MQ11b.
Function UpdateMQ11b()
If MQ11b.GetCurrentStageID() >= 10 && DoOnce == false
MQ11b.SetObjectiveCompleted(Objective)
If MQ11b.IsObjectiveCompleted(20) == 1 && MQ11b.IsObjectiveCompleted(30) == 1 && MQ11b.IsObjectiveCompleted(40) == 1
MQ11b.SetCurrentStageID(20)
MQ11b.SetCurrentStageID(30)
MQ11b.SetObjectiveDisplayed(60)
EndIf
DoOnce = true
EndIf
EndFunction
Event OnRead()
UpdateMQ11b()
EndEvent
Event OnContainerChanged(ObjectReference akNewContainer, ObjectReference akOldContainer)
UpdateMQ11b()
EndEvent
Quest Property MQ11b Auto
Int Property Objective Auto
Bool DoOnce = False