| script command: Sound |
What this does
| This command plays a sound effect. Sound effects can also be set to loop over and over.
Controlling looping sounds
To make a sound effect loop, click the button that says "play once". It will change to say "loop". Then type a name in the box under it. To make a looping sound stop playing, create another sound command, clear the file-name box and press enter. Then type the name of the sound effect you want to stop. This name must be identical to the name you gave it when you started playing it. (Loop names are case-sensitive) | You can stop any sound effect this way. Not just looping ones. If the name box is empty, it'll stop all sound effects that are playing.
| Last updated: August 27, 2011 |