The RPG Maker Resource Kit

RMRK RPG Maker Creation => XP => Topic started by: stormfarron on August 20, 2011, 01:52:15 AM

Title: [XP] Flashlight (Event Made) I need help!
Post by: stormfarron on August 20, 2011, 01:52:15 AM
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=ba000bc1ad2be7127a58e8e57ee811f336a21cd1)
(https://rmrk.net/proxy.php?request=http%3A%2F%2Fbb.xieke.com%2Ffiles%2F1%2Fhelp2.png&hash=d7d7a0d7ece4818e6b835303ea89c02e52c69957)
(https://rmrk.net/proxy.php?request=http%3A%2F%2Fbb.xieke.com%2Ffiles%2F1%2Fhelp3.png&hash=7733c2b058fc2b8f17832d667a1a59c247acc99d)

I was hoping to have someone help me fix this small but fustrating issue... Hope to hear from you soon! :)
Title: Re: Flashlight (Event Made) I need help!
Post by: pacdiggity on August 20, 2011, 02:08:32 AM
(https://rmrk.net/proxy.php?request=http%3A%2F%2Fbb.xieke.com%2Ffiles%2F1%2Fhelp2.png&hash=d7d7a0d7ece4818e6b835303ea89c02e52c69957)
You need that last conditional in the else part of the switch branch.
Title: Re: Flashlight (Event Made) I need help!
Post by: stormfarron on August 20, 2011, 08:40:18 AM
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.