Talk:Ambient generic
Jump to navigation
Jump to search
Is it possible to stop a music MP3 playing? I've got a section of my map where if the player goes very quickly, they'll trigger the next track before the previous one has ended. Ideally, I'd fade the old one out and start the new one, but that doesn't appear to work - instead I get both playing simultaneously. Any ideas? --Cargo Cult 14:58, 29 Aug 2005 (PDT)
- Found that the stopsound command does the trick, in a rather hacky manner - it stops everything playing. I've got a point_clientcommand to do this - a logic_relay timer counts down so that if the first music track finishes playing naturally, it disables the logic_relay thingy which would send the stopsound command. If that makes sense. The second, command-sending logic thingy also starts up the relevant soundscape and ambient sounds... --Cargo Cult 13:46, 30 Aug 2005 (PDT)
- I know it's most likely too late, but wouldn't it be easier to just kill the entity? --Vaarscha 14:22, 19 Mar 2006 (PST)