2021-10-05 22:15:58 +00:00
|
|
|
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)
|
|
|
|
|
2024-01-10 14:08:24 +00:00
|
|
|
if (MQ_P02_ANewLife.GetCurrentStageID() == 30)
|
2021-10-05 22:15:58 +00:00
|
|
|
CandleLight.Disable()
|
|
|
|
CandleOn.Disable()
|
|
|
|
CandleOff.Enable()
|
|
|
|
FXFireOut.Play(Game.GetPlayer())
|
2024-01-10 14:08:24 +00:00
|
|
|
MQ_P02_ANewLife.SetCurrentStageID(35)
|
2021-10-05 22:15:58 +00:00
|
|
|
EndIf
|
|
|
|
|
|
|
|
EndEvent
|
|
|
|
|
|
|
|
|