enderalse/source/scripts/_00e_mq06_chestscript.psc

35 lines
592 B
Plaintext

Scriptname _00E_MQ06_ChestScript extends ObjectReference
Event OnInit()
BlockActivation()
EndEvent
Event OnLoad()
BlockActivation()
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