(fixed) dsb_stopsound(-1) not working

This forum is for the Lua scriptable clone of DM/CSB called Dungeon Strikes Back by Sophia. Use DSB to build your own highly customised games.

Moderator: Sophia

Forum rules
Please read the Forum rules and policies before posting.
Post Reply
User avatar
Gambit37
Should eat more pies
Posts: 13715
Joined: Wed May 31, 2000 1:57 pm
Location: Location, Location
Contact:

(fixed) dsb_stopsound(-1) not working

Post by Gambit37 »

I'm testing dsb_stopsound(-1) and it doesn't seem to work. I've tried using it to stop all sounds within my sys_enter_level() function but sounds continue playing. I can stop sounds perfectly if I store a sound handle and use dsb_stopsound(handle).This applies to both sounds and music. Am I doing something wrong?
User avatar
Sophia
Concise and Honest
Posts: 4240
Joined: Thu Sep 12, 2002 9:50 pm
Location: Nowhere in particular
Contact:

Re: (fixed) dsb_stopsound(-1) not working

Post by Sophia »

No, somewhere along the line I tried to do something clever and ended up breaking it. It'll work in 0.72.
User avatar
Gambit37
Should eat more pies
Posts: 13715
Joined: Wed May 31, 2000 1:57 pm
Location: Location, Location
Contact:

Re: (fixed) dsb_stopsound(-1) not working

Post by Gambit37 »

Great, thank you ☺
Post Reply