Moderators IIYAMA Posted July 1, 2013 Moderators Share Posted July 1, 2013 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 IIYAMA Posted July 1, 2013 Author Moderators Share Posted July 1, 2013 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
Adde Posted July 1, 2013 Share Posted July 1, 2013 Well you need to add the lua file to the meta.xml. Link to comment
Moderators IIYAMA Posted July 1, 2013 Author Moderators Share Posted July 1, 2013 It is already working. Strange temporary driver problem. Well you need to add the lua file to the meta.xml. I can script normal, I don't make much of that stupid mistakes. Link to comment
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now