Agnot2006 Posted May 8, 2009 Share Posted May 8, 2009 I posted a request for information on how to make a script play a sound. I received a reply (Thank You Cipscis ) that said use playsound or Playsound3D.This works using the script: scn MySoundTriggerSB begin OnTriggerEnter Playsound aaaMySoundSBendBut it only plays the sound once on entering.What I need is a way to make the sound repeat until you exit. With a random delay would be great.I tried: begin OnTriggerEnter aaaMySoundSB.enableend begin OnTriggerLeave aaaMySoundSB.disableend But this doesn’t work can anyone help? Link to comment Share on other sites More sharing options...
BadPenney Posted May 8, 2009 Share Posted May 8, 2009 Has your sound been flagged to loop? If not, it will only play once. Link to comment Share on other sites More sharing options...
Agnot2006 Posted May 8, 2009 Author Share Posted May 8, 2009 yes at the moment the sound which is a copy from the game with a new ID just plays and is set to random. If I remove it and use the script and trigger box it plays once on entering. To play again you have to moveaway and re-enter. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.