The thing is that I have made a script that activates a sound when the player gets on its range (it’s a trigger). I would like to know if there is a way to make this script works on a different way, I would like that when my enemy gets on the range of object that has this script, the sound gets activated, but at the same time, the player is able to hear it clearly no matters how far away he is from the object and the enemy.
This is the script, it’s very simple:
var Sound : AudioClip;
function OnTriggerEnter(){
audio.PlayOneShot(Sound);
}
It’s possible?, any ideas?, sorry for the bad english:)