RMRK is retiring.
Server is paid up for the rest of 2026, but the forum may go after that. See here for more information. Please archive or save anything you would like to keep before 2027.
Main Menu
  • Welcome to The RPG Maker Resource Kit.

[XP] Flashlight (Event Made) I need help!

Started by stormfarron, August 20, 2011, 01:52:15 AM

0 Members and 1 Guest are viewing this topic.

stormfarron

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:




I was hoping to have someone help me fix this small but fustrating issue... Hope to hear from you soon! :)

pacdiggity


You need that last conditional in the else part of the switch branch.
it's like a metaphor or something i don't know

stormfarron

#2
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.