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] Please help me with my switch(es)!

0 Members and 1 Guest are viewing this topic.

**
Rep:
Level 87
You walk into this house, and talk to a man. He tells you that the items you need are in a chest on the floor. You then open the chest, and text is shown, saying that those are the right item,s bla blah, and a switch, called chest_one is turned on. You then leave the house, and you can only go out of the door if the switch chest_one is on. If you try to go out of the house before then, it will show a message saying that you need to get the items first. The problem is that even after you have opened the chest(and turned on the switch), if you try to go out of the door, it says the mesage. Why is this? Thanks for your help! :)
« Last Edit: April 23, 2007, 02:35:44 PM by Zeriab »

pokeball :)OfflineMale
********
Cheese
Rep:
Level 95
?
did you use a condiotnal branch?

condtional branch: Switch 1 = on
 - Transfer player map 001 blah blah
-ELSE:
 - Show message : you cant leave yet.
Watch out for: HaloOfTheSun

*
Shooting for the "MEMBER MODERATOR OF THE YEAR 2007" Award
Rep:
Level 89
Hi, there.
Assume you are already isid the house,
(Event That lets you out of the house)
1st page should give you your message.
2nd page should be precondition switch chest_one=on and then teleport

should work
« Last Edit: April 22, 2007, 06:47:25 PM by ChaosSpartan28 »
Sig by MacGravel

**
Rep:
Level 87
well, I don't know if this would effect it, but the switch oage is the first page, and the message page is the second page. I might just use a conditional thing like Nouman said. Thanks!

pokeball :)OfflineMale
********
Cheese
Rep:
Level 95
?
np, try it out and tell us if it works.
Watch out for: HaloOfTheSun

*
Rep:
Level 97
2014 Most Unsung Member2014 Best RPG Maker User - Engine2013 Best RPG Maker User (Scripting)2012 Most Mature Member2012 Favorite Staff Member2012 Best RPG Maker User (Scripting)2012 Best MemberSecret Santa 2012 ParticipantProject of the Month winner for July 20092011 Best Use of Avatar and Signature Space2011 Best RPG Maker User (Scripting)2011 Most Mature Member2011 Favourite Staff Member2011 Best Veteran2010 Most Mature Member2010 Favourite Staff Member
well, I don't know if this would effect it, but the switch oage is the first page, and the message page is the second page. I might just use a conditional thing like Nouman said. Thanks!

It does effect it. It reads the highest numbered page that meets it's conditions.