can anyone help with sound script?
Posted: Sun May 26, 2013 5:54 pm
i need to play sound, called "horror" in this place.
I already done all in the file "sounds.lua".
So i only need to do something with script.
Can anyone help me? :3
i used that script:
playSoundAt(sound, level, x, y), so i wrote this:
function playSound()
playSoundAt(horror, 10, 29, 16)
end
and pc says me:
bad argument #1 to 'playSoundAt' (string expected, got nil)
what i supposed to do? where is error?
I already done all in the file "sounds.lua".
So i only need to do something with script.
Can anyone help me? :3
i used that script:
playSoundAt(sound, level, x, y), so i wrote this:
function playSound()
playSoundAt(horror, 10, 29, 16)
end
and pc says me:
bad argument #1 to 'playSoundAt' (string expected, got nil)
what i supposed to do? where is error?