enderalse/source/scripts/_00e_mqp02_lanternscript.psc

22 lines
501 B
Plaintext

Scriptname _00E_MQP02_LanternScript extends ObjectReference
Quest Property MQ_P02_ANewLife Auto
Sound Property FXFireOut Auto
ObjectReference Property CandleLight Auto
ObjectReference Property CandleOn Auto
ObjectReference Property CandleOff Auto
Event OnActivate(ObjectReference akActionRef)
if (MQ_P02_ANewLife.GetCurrentStageID() == 30)
CandleLight.Disable()
CandleOn.Disable()
CandleOff.Enable()
FXFireOut.Play(Game.GetPlayer())
MQ_P02_ANewLife.SetCurrentStageID(35)
EndIf
EndEvent