Scriptname AAA1PlaySoundSilberfallMiene extends ObjectReference  
{Play sound nummer 1 im den Stollen...}

ObjectReference Property HorrorLicht1 Auto
ObjectReference Property HorrorLicht2 Auto
ObjectReference Property SmokeHorror Auto
Sound property HorrorSound auto

Auto State Trigger
      Event OnTriggerEnter(ObjectReference triggerRef)
	Actor actorRef = triggerRef as Actor
               if (actorRef == game.GetPlayer())
                    gotoState ("done")
		       HorrorSound.Play(Self)
                    HorrorLicht1.Enable ()
                    HorrorLicht2.Enable ()
                    SmokeHorror.Enable ()
Utility.Wait(0.2)   ; Script pausiert f黵 1 Sekunde
                    HorrorLicht1.Disable ()
                    HorrorLicht2.Disable ()
                    SmokeHorror.Disable ()
Utility.Wait(5)
                    Debug.MessageBox("在我进入矿井的路上，突然听到一阵很奇怪的声音，这可能只是噪音，但是听不出方向，我应该小心行事。")
                 endif
       EndEvent
endState

STATE done

endSTATE

ObjectReference Property SoundHorror  Auto  

Sound Property Horror  Auto  
