I try to play a sound at a point because i don't want everyone to hear it if they are not looking at a certain location. Is there a certain way you have to set this up to play a sound on a point or a unit?
first I attached a point to the player's current camera location. Then if the point is not in a large region around were i want the sound to be heard (aka were they are looking) then it will not play. tada :)
So the sound does not suddenly jolt on and off I track the distance between that point and the center of the region and modify the sound's volume according to the distance.
I try to play a sound at a point because i don't want everyone to hear it if they are not looking at a certain location. Is there a certain way you have to set this up to play a sound on a point or a unit?
I think the sound classes won't work then. Try the "Spell" class for that and make sure 3D is ticked in the sound assets.
what do you mean by the "spell" class?
I got it to work this way.
first I attached a point to the player's current camera location. Then if the point is not in a large region around were i want the sound to be heard (aka were they are looking) then it will not play. tada :)
So the sound does not suddenly jolt on and off I track the distance between that point and the center of the region and modify the sound's volume according to the distance.