chasethis Posted April 30, 2012 Posted April 30, 2012 OK here is my problem, I wanted to create a auto light where when you enter the room ( used the cubic activator) it turns the light on and a sound plays, ok i got that part but when i played the game and went to my cell and walked into the room the sound played continuous. and i want it to play one. I looked on other scripts and found DoOnce and that did nothing to help me. I think im doing it wrong. Please help. anything... :)
lostone1993 Posted April 30, 2012 Posted April 30, 2012 (edited) you could write trap, this being an example short doonce if doonce == 0 <insert any code to execute once> set doonce to 1end if the syntax may not be right but that is the jest of it if it still plays then you have a setting wrong in the sound object EDIT: posting the code you are using would help a lot in working out the problem Edited April 30, 2012 by lostone1993
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