made this simple event where you press shift and the light turns on. if you press shift again the light turns off. it works fine except the shift key only turns it off, it does not work when you try to turn it on. I'm not sure what I'm doing wrong if you could help me that would be epic. I'm using the Terrax Lighting plugin
MV Need help: common event thingy not working like I want it to
Javascript/Plugin SupportNone of those events have a trigger. I wouldn't expect it to even turn on. You must have something else set up that's calling the common event. Show us that. There's probably a better way to do this than you're using here.
Sorry about that
Yeah, this is a really bad way to do it. You have 3 common events, but only one is being called at a time, so you have to press that key at the exact moment that conditional branch is being checked.
Where are you setting the flashlight variable?
Do you always have the torch?
Actually I think there is more that you haven't shown. What is your light source? The plugin comments say you need to specify in the note field in an event, and I don't see that either.
You'll have to either make a demo that I can look at, or wait for someone who's familiar with the plugin to come and assist.
In any case,
Moved to: Plugin Support
Where are you setting the flashlight variable?
Do you always have the torch?
Actually I think there is more that you haven't shown. What is your light source? The plugin comments say you need to specify in the note field in an event, and I don't see that either.
You'll have to either make a demo that I can look at, or wait for someone who's familiar with the plugin to come and assist.
In any case,
Moved to: Plugin Support
I've figured it out, had no idea you could use a switch to trigger a common event. sorry for the trouble lol
Here is one possible example on how this could look like as Map Event:
This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.
Original thread: https://forums.rpgmakerweb.com/threads/need-help-common-event-thingy-not-working-like-i-want-it-to.155408/