Author Topic: PlaySound for one PC  (Read 329 times)

Legacy_Ne0nx3r0

  • Newbie
  • *
  • Posts: 46
  • Karma: +0/-0
PlaySound for one PC
« on: September 30, 2010, 01:07:24 am »


               Is it possible to play a sound for a single PC? I just want to add some noises to go with menus/etc, but it wouldn't make sense for every PC to hear these sounds. 
               
               

               
            

Legacy_GhostOfGod

  • Hero Member
  • *****
  • Posts: 1490
  • Karma: +0/-0
PlaySound for one PC
« Reply #1 on: September 30, 2010, 02:52:26 am »


               I don't think it is possible to limit a sound to be heard by only one player. You can play a sound at the players location but if there are other players near they would hear it as well.
               
               

               
            

Legacy_Lightfoot8

  • Hero Member
  • *****
  • Posts: 4797
  • Karma: +0/-0
PlaySound for one PC
« Reply #2 on: September 30, 2010, 03:10:20 am »


               I have not tried it, but can only think of one way that might work.  You would have to add your sound to a conversation 'other actions' tab.  Of course make the conversation a single node. So it will just enter and leave.  Then when you want to play the sound start the conversation as private to the player.  



Good luck in experimenting.
               
               

               
            

Legacy_Ne0nx3r0

  • Newbie
  • *
  • Posts: 46
  • Karma: +0/-0
PlaySound for one PC
« Reply #3 on: September 30, 2010, 11:02:59 pm »


               Well, that is a good idea - I think most of the conversations I'm working with use a dynamic system so it may not work out in that regard...



One thing I have been playing with is making very small sounds (radius/echo/etc-wise) and placing them near the pc, playing them once, then shoving them off some other place. Seems promising, but I still need to play around
               
               

               
            

Legacy_Builder_Anthony

  • Hero Member
  • *****
  • Posts: 786
  • Karma: +0/-0
PlaySound for one PC
« Reply #4 on: October 01, 2010, 01:43:07 am »


               Check to see if anyone is with in a certain range and then play the sound if noone is with in range other then the pc of course.?????????????????