I want a sound to play when player takes an object. This is how I've scripted it - the Utility.Wait is there so I could make sure the sound was played - I can't hear it.
Sound Property mySound AutoEvent OnContainerChanged(ObjectReference akNewContainer, ObjectReference akOldContainer)if akNewContainer == Game.GetPlayer() mySound.Play(self)Utility.Wait(2.0)debug.messagebox("You have found a rare painting")EndifEndEvent
The sound I chose to play is UISkillIncrease, I can hear it obviously previewed in CK in Sound Descriptor category but not in-game.
Thanks.