enderalse/scripts/source/_00e_mq06_chestscript.psc

33 lines
505 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
if (MQ06.GetStage() >= 27) && (MQ06.GetStage() != 29)
Self.Activate(PlayerREF, True)
endif
if MQ06.GetStage() == 27
MQ06.SetStage(28)
endif
if MQ06.GetStage() == 30
MQ06.SetStage(31)
endif
endif
EndEvent
Quest Property MQ06 Auto
Actor Property PlayerREF Auto