stevie70 Posted July 19, 2011 Share Posted July 19, 2011 ya ive plugged in different sound and they all do the same thing.sorry, i can't see anything wrong with the script, maybe somebody else can.and you're sure you picked a _non_looping_ sound...? QSTKlaxonA DEFINITELY is a looper, so make a non-looping copy of it and try again.and make sure the switch doesn't have any activation parents or anything.else, i'd have no idea why this shouldn't work Link to comment Share on other sites More sharing options...
Officer360 Posted July 21, 2011 Author Share Posted July 21, 2011 (edited) ok i did all of this but now my script wont save :wacko: i cant even copy and paste the script. it wont save and there are no problems. i copied it to the letter. im just going to scrap it and try someting else :wallbash:thank you for your help though. Edited July 21, 2011 by Officer360 Link to comment Share on other sites More sharing options...
Officer360 Posted July 21, 2011 Author Share Posted July 21, 2011 ok i finally got it to save but when i tested it with a non-looping sound it only played for two seconds and then stopped. Link to comment Share on other sites More sharing options...
stevie70 Posted July 21, 2011 Share Posted July 21, 2011 ok i finally got it to save but when i tested it with a non-looping sound it only played for two seconds and then stopped.well that's exactly what you wanted i thought, the sound to stop...!? Link to comment Share on other sites More sharing options...
Officer360 Posted July 23, 2011 Author Share Posted July 23, 2011 im trying to get it to keep looping until i press the switch again for it to stop. sorry for not being clear on that. i want it to work like a fire alarm where you pull the switch and the alarm goes off but when you flip the switch again the sound stops. Link to comment Share on other sites More sharing options...
tunaisafish Posted July 23, 2011 Share Posted July 23, 2011 Place the sound into the cell, and edit the reference so that it is 'initially disabled', 'persistent', and give it a name like 'KlaxonSndREF'. (I think) you should then be able to use the KlaxonSndREF.enable and KlaxonSndREF.disable commands to turn it on/off in your switch script. Link to comment Share on other sites More sharing options...
Officer360 Posted July 23, 2011 Author Share Posted July 23, 2011 that did it! :dance: :biggrin: Kudos to both of you for you help! Link to comment Share on other sites More sharing options...
Recommended Posts