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.
Switches

0 Members and 1 Guest are viewing this topic.

**
Rep:
Level 85
I nee dhelp on switches. I need to learn how to make doors, treasure chests, and game events and I have no clue how to make these things work. Using switches. Like I want to walk next to a door and have to Guards tell me to stop and things you know?  Without clickiing on anything.

*
I love Firerain
Rep:
Level 97
=D
Actually, you can do that without switches to.
Like...
Hero Click Enter
Door Sprite Change : Sprite face Up or something


So make the door on the second layer, with first layer the black thing
g2g right now, will give detailed post after an hour or so.
Arlen is hot.

**
Rep: +0/-0Level 85
An alternative that could use switches for is to put two blank events (set to 'below hero') in front of the door and make a new page on each event with a guard graphic that is toggled by a switch. When the hero steps on the event directly in front of the door (Touched by hero), make a 'move' command for the hero to lock facing, move down (or away from the door), and unlock facing. Then turn on the switch that toggles the guard graphics and have them speak. After that, if you want the guards to disappear until the hero approaches the door again, simply turn off the switch. This set up essentially makes it appear that two guards came through the door and pushed the hero away.

If you want to add even more effect to the scene, you could make the door disappear when the guards appear to make it look like they really did come through the door. To do this, you would need to make the door an event with a second page with no graphic toggled by the same switch. When you turn off the switch, the door will reappear.

Finally, once the hero does whatever he/she/it is supposed to do to gain entry, you can make another page on each event that is toggled by a new switch so that the guards will not appear.

**
Rep:
Level 85
Thanks for your help.