enderalse/source/scripts/_00e_mq06_chestscript.psc

33 lines
559 B
Plaintext
Raw Normal View History

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