2021-10-05 22:15:58 +00:00
|
|
|
Scriptname _00E_MQ11bBookSCN extends ObjectReference
|
|
|
|
|
|
|
|
; This is a script placed on the three "testimonies" of the victims
|
|
|
|
; in MQ11b.
|
|
|
|
|
|
|
|
Function UpdateMQ11b()
|
|
|
|
|
2024-01-10 14:08:24 +00:00
|
|
|
If MQ11b.GetCurrentStageID() >= 10 && DoOnce == false
|
2021-10-05 22:15:58 +00:00
|
|
|
|
|
|
|
MQ11b.SetObjectiveCompleted(Objective)
|
|
|
|
|
|
|
|
If MQ11b.IsObjectiveCompleted(20) == 1 && MQ11b.IsObjectiveCompleted(30) == 1 && MQ11b.IsObjectiveCompleted(40) == 1
|
2024-01-10 14:08:24 +00:00
|
|
|
MQ11b.SetCurrentStageID(20)
|
|
|
|
MQ11b.SetCurrentStageID(30)
|
2021-10-05 22:15:58 +00:00
|
|
|
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
|