Re: I need a simple lua script for sound control
CaveCricket48 wrote:
Do you plan to have this as background music or sound-effect like? If you're going for sound effect, using an emitter with your sound as the burst sound effect will play the entire sound even when the emitter dies, and you can just have a variable to change when you add the emitter.
If you're going for background music, same concept, just use the function that changes the music.
Oh you can control both using lua???
Basically I wanted it to be a surprise but I'm trying to create a walking boombox that shoots single shot weapons and when shot these weapons play a sound that would be a whole song.