2021-10-05 22:15:58 +00:00
|
|
|
Scriptname _00E_MQ06_ChestScript extends ObjectReference
|
|
|
|
|
2024-08-07 17:50:54 +00:00
|
|
|
Event OnInit()
|
|
|
|
BlockActivation()
|
|
|
|
EndEvent
|
2021-10-05 22:15:58 +00:00
|
|
|
|
2024-08-07 17:50:54 +00:00
|
|
|
Event OnLoad()
|
|
|
|
BlockActivation()
|
2021-10-05 22:15:58 +00:00
|
|
|
EndEvent
|
|
|
|
|
|
|
|
Event OnActivate(ObjectReference akActionRef)
|
|
|
|
|
|
|
|
if akActionRef == PlayerREF
|
|
|
|
|
2024-01-10 14:08:24 +00:00
|
|
|
if (MQ06.GetCurrentStageID() >= 27) && (MQ06.GetCurrentStageID() != 29)
|
2021-10-05 22:15:58 +00:00
|
|
|
Self.Activate(PlayerREF, True)
|
|
|
|
endif
|
|
|
|
|
2024-01-10 14:08:24 +00:00
|
|
|
if MQ06.GetCurrentStageID() == 27
|
|
|
|
MQ06.SetCurrentStageID(28)
|
2021-10-05 22:15:58 +00:00
|
|
|
endif
|
|
|
|
|
2024-01-10 14:08:24 +00:00
|
|
|
if MQ06.GetCurrentStageID() == 30
|
|
|
|
MQ06.SetCurrentStageID(31)
|
2021-10-05 22:15:58 +00:00
|
|
|
endif
|
|
|
|
|
|
|
|
endif
|
|
|
|
|
|
|
|
EndEvent
|
|
|
|
|
|
|
|
Quest Property MQ06 Auto
|
|
|
|
|
|
|
|
Actor Property PlayerREF Auto
|
|
|
|
|