Hello, this is probably a newbie question but I'm still kinda confused about certain parts of RPG Maker. I'm curious about how to make an event go on and off at will. To be exact, in my situation I want to be able to turn a lamp on and off whenever the player presses the "confirm" key. The lamp will change the tint of the room and use light from this tutorial (http://forums.rpgmakerweb.com/index.php?/topic/19147-very-easy-lighting-effects-tutorial/). I'm fairly sure it's possible, but again, I'm kinda confused. Also, I apologise if this is in the wrong section, I always get confused on this website\ and had no clue where I'm supposed to put this. Thanks in advance! 🙂
How to make an event switch between pages at will?
RPG Maker VXAce SupportIf "at will" means "when the player presses a button", you would have a parallel process event on the map that monitors for the button being pressed, and when it is, check to see if a switch is on - if it's on, then turn it off; if it's not on, then turn it on. And include a Tint Screen command in both the true and false blocks.
I think OP meant to turn a lamp on and off, not a 'clap system' of some sorts. Basically you turn a self switch on in the first event page, and tint the screen to the desired effect. Then you create a second event page, set its condition to Self Switch ... is ON (self switch A probably). In it, tint the screen back to normal, and turn self switch A off.
Have both event pages set to same as character (priority), and action button (trigger).
Have you read any beginner tutorials? Because this is fairly basic.
Have both event pages set to same as character (priority), and action button (trigger).
Have you read any beginner tutorials? Because this is fairly basic.
I think he means that the hotkey in question will turn On and Off the lamp when he's in a specific area?
For this you could use a common event that will add the light effect and tint when a specific switch is turned on, and remove it once the switch is off.
You could also use it inside a parallel process for that specific area, here's a example I'm using to toggle On and Off my mini world map when my player is on the world map. You could change it to suit your need:
If this is not what you want, I suggest you add some more information on what you are trying to do, if It's only an event that will make the lights go on and off then you just have to use self-switches wich is basics.
For this you could use a common event that will add the light effect and tint when a specific switch is turned on, and remove it once the switch is off.
You could also use it inside a parallel process for that specific area, here's a example I'm using to toggle On and Off my mini world map when my player is on the world map. You could change it to suit your need:
If this is not what you want, I suggest you add some more information on what you are trying to do, if It's only an event that will make the lights go on and off then you just have to use self-switches wich is basics.
Original thread: https://forums.rpgmakerweb.com/threads/how-to-make-an-event-switch-between-pages-at-will.38989/
