YesNoOk
avatar

Sound isnt playing when i do playsnd (Read 871 times)

Started by Silverberg, June 28, 2021, 08:38:05 pm
Share this topic:
Sound isnt playing when i do playsnd
#1  June 28, 2021, 08:38:05 pm
  • peter griffin
    • USA
i put playsnd and it doesnt even play, the code is under this text.

[State 191, PlaySnd]
type = PlaySnd
trigger1 = time = 0
value = S190,0
Re: Sound isnt playing when i do playsnd
#2  June 29, 2021, 12:49:30 am
  • avatar
  • ***
    • https://sites.google.com/site/mgmurrow/
[quote
[State 191, PlaySnd]
type = PlaySnd
trigger1 = time = 0
value = S190,0
[/quote]

first off, remove the S from S190,0
second make sure there is a sound file 190,0
then make sure there isnt a second sound file 190,0 (playing the wrong sound or blank sound)
last you should add a channel to the sound file (look at docs for what channels they recommend), voices should use channel=0

hope this helps

MGMURROW
Re: Sound isnt playing when i do playsnd
#3  July 06, 2021, 12:53:28 am
  • *****
  • Shame on you!
    • USA
One problem with playing a sound is the number of sounds that can play at 1 time. You may be overloading it; Causing it to not play.
vVv Ryuko718 Updated 10/31/22 vVv