Play sound when enemy is within the camera help

Hi all

I was wondering if anyone had any tips in how to play a sound when the enemy actor is within the camera...

how can I get the Sound to play louder when my player actor gets closer to enemy actor and quieter when the player goes past it?

Dan

Comments

  • jonmulcahyjonmulcahy Member, Sous Chef Posts: 10,408
    you can use magnitude to find the distance from your player actor to the enemy and play a sound when it's a certain distance away, and also control the volume. do a search on magnitude, i think there is a youtube video on it.
  • famekraftsfamekrafts Member, BASIC Posts: 834
    I was having a similar problem, will look for it.
Sign In or Register to comment.