I have followed a tutorial on HBGames.org that helps create a flashlight effect for my Silent Hill game.
http://www.hbgames.org/forums/viewtopic.php?p=853886#p853886 <- Here is the tutorial. I have created a switch for the flashlight to be turned on and off....
The thing is it just won't turn off and on. Once I press it once I can't shut it off. It looks as though it shuts off but it then stops and goes back, it also makes the switch noise.
Here is a screen shot of my common events:
(https://rmrk.net/proxy.php?request=http%3A%2F%2Fbb.xieke.com%2Ffiles%2F1%2Fhelp4.png&hash=7ff7d52ed26b43507d6c1ed8802db270555184ec)
(https://rmrk.net/proxy.php?request=http%3A%2F%2Fbb.xieke.com%2Ffiles%2F1%2Fhelp2.png&hash=fd79d038d218c8310764d9267bba893ed66baa47)
(https://rmrk.net/proxy.php?request=http%3A%2F%2Fbb.xieke.com%2Ffiles%2F1%2Fhelp3.png&hash=41e1da0bc5372894642466aac771998ba9ca359b)
I was hoping to have someone help me fix this small but fustrating issue... Hope to hear from you soon! :)
(https://rmrk.net/proxy.php?request=http%3A%2F%2Fbb.xieke.com%2Ffiles%2F1%2Fhelp2.png&hash=fd79d038d218c8310764d9267bba893ed66baa47)
You need that last conditional in the else part of the switch branch.
I fixed it back to how it was and now i cant even turn the light off or on for the fact that evertime i click the button i set it to the light pictures flickers and the sound i added just keeps going.