Currently working on sound pacenotes for the Dakar Style Mod. I am using this function to play a sound when the triggerbox is entered. But I want it to be played only at the first drivethrough/until the car is reset: local function mysoundCP01 (data) if data.event == "enter" then Engine.Audio.playOnce('AudioGui','sounds/petlua_dakar_01/sound_01.mp3') end end mysoundCP01 Help is much appreciated!
Just add some value that checks if it already triggered before, should work but idk how triggers work so maybe it won't
Sorry for bumping the "old" thread...but my question is related to this one. Is there a possibility that the sound only plays when you are inside the trigger - and stops when you leave it?