Jump to content

sound stopped somehow working


IIYAMA

Recommended Posts

  • Moderators

My sound script some how stopped working, I have no Idea why, it just did. :?:

meta.xml

  
    <file src="material/music/Spy_vs_Spy_main2.mp3"/> 
  

  
introMusic,soundState = playSound("material/music/Spy_vs_Spy_main2.mp3", true),true 
  
if not introMusic then 
 outputChatBox("introMusic doesn't exist " .. tostring(introMusic)) -- this one will output in the chat box 
end 
  
--as extra test: 
if not fileExists ( "material/music/Spy_vs_Spy_main2.mp3", true) then 
    outputChatBox("introMusic doesn't exist ") 
else 
        outputChatBox("sound does exist!!") -- this one will also output in the chatbox. 
end 

so I am really confused, I changed some things, but I can't see my mistake.

Link to comment
  • Moderators

Hmm nvm,

I have no Idea what did just happened, but it seems like my drives didn't work.

Probably because I changed my headset to box set.

Never had this problem before. -_-"

Really strange that it can conflict lua scripts.

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...