Scriptname AAAPfahlScript extends ObjectReference  
{Horror Ambiente beim aufgespießten NPC}

Sound Property HSound auto
ObjectReference Property Pillar auto
ObjectReference Property licht1 auto

Auto State Trigger
      Event OnTriggerEnter(ObjectReference triggerRef)
	Actor actorRef = triggerRef as Actor
               if (actorRef == game.GetPlayer())
                    gotoState ("done")
                    HSound.Play(Self)
                    licht1.Enable()
                    Pillar.Enable()
Utility.Wait(0.4)
                    licht1.Disable()
                    Pillar.Disable()
	         endif
       EndEvent
endState

STATE done

endSTATE