RMRK is retiring.
Registration is disabled. The site will remain online, but eventually become a read-only archive. More information.

RMRK.net has nothing to do with Blockchains, Cryptocurrency or NFTs. We have been around since the early 2000s, but there is a new group using the RMRK name that deals with those things. We have nothing to do with them.
NFTs are a scam, and if somebody is trying to persuade you to buy or invest in crypto/blockchain/NFT content, please turn them down and save your money. See this video for more information.
[RESOLVED] Make event run back and forth!?

0 Members and 1 Guest are viewing this topic.

**
Rep:
Level 86
I love my eyes in this pic.....
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!!
« Last Edit: August 20, 2007, 09:03:37 AM by Zeriab »
"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...

**
Rep:
Level 86
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

****
Rep:
Level 87
In my own little world...
Quote
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

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?

**
Rep:
Level 86
Quote
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

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.

**
Rep:
Level 86
I love my eyes in this pic.....
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...

****
Rep:
Level 87
In my own little world...
No problem. Sometimes it just takes a little tinkering.
Post resolved.

**
Rep:
Level 86
I love my eyes in this pic.....
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...