planetsam
02-01-2009, 10:01 PM
How do you have a sound stop when you click on an object?
ottar9919
02-02-2009, 09:17 AM
There is a way to stop a sound, but it is not as easy as it seems. Make a boolean variable called "sound on" or something like that. The variable should start as true, and as an event should become false when the mouse is clicked on something. Now make a "while something is true" event and put in the variable. Put the sound in the during part of it. The sound should run while the variable is true, so when you click on an object, the variable becomes false and the sound is stopped.
DrJim
02-05-2009, 10:35 AM
... it is not as easy as it seems.
Certainly true - sound editing in Alice isn't too easy. It's frequently difficult to get a large sound file to start and stop where you want. If Ottar's approach doesn't give you what you want, you might experiment with just letting the file run and turning the volume up and (way) down.