Sound questions

Hi guys, I have two questions related to sound.

  1. I want to play a sound for my character when he is idle for too long? Do you have an idea how to script that? Every time I tried that with a timer it just repeated the sound all the time.
  2. I want a specific audio file play in just one part of the level, is it possible to something along the lines of: the player is inside area= play the file, when player is outside the area=stop playing the sound.
    I hope I am clear any help would be awesome, I am pretty sure I am missing some obvious solution…

When a sound is on a channel you can control it later via it’s channel number. So yes you can if you use a channel.

Sounds like you are not resetting the timer after it fired