Main Menu
  • Welcome to The RPG Maker Resource Kit.

[RESOLVED] Make event run back and forth!?

Started by Derek16438, August 18, 2007, 01:46:30 AM

0 Members and 1 Guest are viewing this topic.

Derek16438

I have a lamp in the main character's room, and I want it so he can turn it on and it will illuminate his room, but I also want it so you can press the lamp again, and turn it off.....(The room turns dark again) I want to be able to do this over and over as many times as I want, but I can't figure out how to switch back and forth betwwen just two pages of events.....!?

HELP!! Please, and thnx in advance!!
"The best thing that life can offer... is the chance to work hard..........at work worth doing" That's Teddy Rooselvelt who said that, not me...

memekia

first when the play presses the button to cut it make it ask "do you want to cut it on" yes or no. if yes just change image *to make i look off*the tent tent the screen to make it look dark. *but you must make it like a quest if they cut it off they talk to it again and the question changes "o you want to cut it back on" i hoped i help if i didn't just tell me

Arkbennett

Quotefirst when the play presses the button to cut it make it ask "do you want to cut it on" yes or no. if yes just change image *to make i look off*the tent tent the screen to make it look dark. *but you must make it like a quest if they cut it off they talk to it again and the question changes "o you want to cut it back on" i hoped i help if i didn't just tell me

Um, that was a little confusing, but she had the right idea, I'll clean it up a bit.

There are two ways you can do it, I'll just do it the easy way, so you can understand better.

Make two pages, the first page you want the question, "Turn the lamp on"?
Then show the choices.
Under [Yes] assuming you wrote yes for the first option, tint screen to 0 0, 0, 0
Then make a switch and turn it on (Use Local Switch A if your using RMXP)

The second page on preconditions, select the switch you used. (You'll select Local Switch if you use RMXP)
Repeat everything on the first step, but tint the screen to -255,-255,-255,0 and turn off the switch.

Simple, no?

memekia

#3
Quote from: Arkbennett on August 19, 2007, 05:20:13 AM
Quotefirst when the play presses the button to cut it make it ask "do you want to cut it on" yes or no. if yes just change image *to make i look off*the tent tent the screen to make it look dark. *but you must make it like a quest if they cut it off they talk to it again and the question changes "o you want to cut it back on" i hoped i help if i didn't just tell me

Um, that was a little confusing, but she had the right idea, I'll clean it up a bit.

There are two ways you can do it, I'll just do it the easy way, so you can understand better.

Make two pages, the first page you want the question, "Turn the lamp on"?
Then show the choices.
Under [Yes] assuming you wrote yes for the first option, tint screen to 0 0, 0, 0
Then make a switch and turn it on (Use Local Switch A if your using RMXP)

The second page on preconditions, select the switch you used. (You'll select Local Switch if you use RMXP)
Repeat everything on the first step, but tint the screen to -255,-255,-255,0 and turn off the switch.

Simple, no?
8) sorry i should have fixed it up.

Derek16438

Thnx for the help guys, although I ended up figuring it out before any posts were made.....But having you guys tell me anyway assures that I'm doing it right at least, so thnx.....
"The best thing that life can offer... is the chance to work hard..........at work worth doing" That's Teddy Rooselvelt who said that, not me...

Arkbennett

No problem. Sometimes it just takes a little tinkering.
Post resolved.

Derek16438

Yupper, so next time I'll tinker just a wee bit longer before I post, haha..... thnx again!
"The best thing that life can offer... is the chance to work hard..........at work worth doing" That's Teddy Rooselvelt who said that, not me...