enderalse/source/scripts/_00e_mq07a_doorbellsc.psc

26 lines
588 B
Plaintext
Raw Normal View History

Scriptname _00E_MQ07a_DoorBellSC extends ObjectReference
Event OnActivate(ObjectReference akActionRef)
2024-01-10 14:08:24 +00:00
If (MQ07a.GetCurrentStageID() == 55)
If (GameHour.GetValue() > 20) || (GameHour.GetValue() < 6)
_00E_BellGong_02M.Play(Self)
2024-01-10 14:08:24 +00:00
MQ07a.SetCurrentStageID(60)
Else
_00E_MQ07_sWaitUntilNightfall.Show()
EndIf
Else
_00E_MQ07_sNothingHappens.Show()
EndIf
EndEvent
Quest Property MQ07a Auto
GlobalVariable Property GameHour Auto
Sound Property _00E_BellGong_02M Auto
Message Property _00E_MQ07_sWaitUntilNightfall Auto
Message Property _00E_MQ07_sNothingHappens Auto