–Some Sample Code from Current Project - abbreviated
–This Works for me perfectly
-declare some variables- two sounds
local Sound2 = audio.loadSound(“2.wav”)
local Sound3 = audio.loadSound( “3.wav” )
local SoundMatch = Sound2
–Play sound
audio.play ( SoundMatch )
– this plays Sound2 Perfectly or “2.wav” file
–This does not work for me, unsure why
-declare some variables- two sounds
local Sound2 = audio.loadSound(“2.wav”)
local Sound3 = audio.loadSound( “3.wav” )
local SoundMatch = Sound2
–Play Sound
SoundMatch = “Sound” … 3
audio.play ( SoundMatch )
– This plays nothing! I can see that SoundMatch is now Sound3 so why doesn’t it play.
Thanks for the Help. Haven’t programmed in 20 years and just starting to relearn everything again.
[import]uid: 115952 topic_id: 20108 reply_id: 320108[/import]