I have a large object with a trigger around it (I have tested the trigger by adding text outputs if the trigger successfully..triggers, and it appears the trigger is in working order so that should not be the problem) and I am trying to get a sound to play when the player steps into the trigger.
Here is what I have:
Scriptname ExampleTrigger extends ObjectReferenceimport soundsound property NPC_Dragon_Kill_Roar_A autoEvent OnTriggerEnter(ObjectReference akActionRef) if(akActionRef == Game.GetPlayer()) NPC_Dragon_Kill_Roar_A.play(self) endifEndEvent
The actual sound file is NPC_Dragon_Kill_Roar_A.wav but the display name is just NPCDragonKillRoarA. I'm not sure if this is the direct problem, as I've tried putting both.
Any help is appreciated.



