Enderal SE https://mod.pub/enderal-se/38-enderal-se
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
32 lines
505 B
32 lines
505 B
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
|
|
|
|
|