The Dink Network

Reply to Re: playsound - 2D variable not working?

If you don't have an account, just leave the password field blank.
Username:
Password:
Subject:
Antispam: Enter Dink Smallwood's last name (surname) below.
Formatting: :) :( ;( :P ;) :D >( : :s :O evil cat blood
Bold font Italic font hyperlink Code tags
Message:
 
 
April 26th, 06:50 AM
peasantmb.gif
yeoldetoast
Peasant They/Them Australia
LOOK UPON MY DEFORMED FACE! 
Well, playsound is working fine. It's the positional audio system that 100ms later (it doesn't actually run every frame) goes "No sound for you!". This is why in Sparrowhawk's thread he reports that he hears a small blast of audio that soon cuts out. I don't know why it requires the sprite to have a positive sound value, as it doesn't seem to serve any worthwhile purpose, other than to result in threads like this one.

Turns out that sp_sound doesn't care what value it gets as long as it's greater than zero, and most likely neither does the editor value. Changing 99 in the above example to 999 is fine too.

For sake of completeness, this will most likely crash 1.08 unless you do it properly and load a silent wav into the relevant slot first which presumably must be a real one.