Reply to playsound() question
If you don't have an account, just leave the password field blank.
If I use the following script no sound is heard, but if I change the ¤t_sprite in playsound to 0, it works (but is not 3D). It makes no difference if the sound_set_vol() part is used or not.
How do I get the 3D effect to work?
void main (void)
{
sp_nodraw(¤t_sprite, 1);
sp_nohit(¤t_sprite, 1);
int &qfall = playsound(12, 22050, 0, ¤t_sprite, 1);
sound_set_vol(&qfall, -2750);
}
How do I get the 3D effect to work?
void main (void)
{
sp_nodraw(¤t_sprite, 1);
sp_nohit(¤t_sprite, 1);
int &qfall = playsound(12, 22050, 0, ¤t_sprite, 1);
sound_set_vol(&qfall, -2750);
}