enderalse/source/scripts/_00e_mq06_chestscript.psc

33 lines
559 B
Plaintext

Scriptname _00E_MQ06_ChestScript extends ObjectReference
Event OnLoad()
Self.BlockActivation(True)
EndEvent
Event OnActivate(ObjectReference akActionRef)
if akActionRef == PlayerREF
if (MQ06.GetCurrentStageID() >= 27) && (MQ06.GetCurrentStageID() != 29)
Self.Activate(PlayerREF, True)
endif
if MQ06.GetCurrentStageID() == 27
MQ06.SetCurrentStageID(28)
endif
if MQ06.GetCurrentStageID() == 30
MQ06.SetCurrentStageID(31)
endif
endif
EndEvent
Quest Property MQ06 Auto
Actor Property PlayerREF Auto