Hey so I've managed to make myself a door that is activated by switch, however, I want to make it so that the player has to use the only the switch in order to open the door. Due to Action Button, Parallel Process, Autorun, or Player Touch, those have made it relatively impossible for me. No matter what option I choose, the player is still able to open the door by just walking up to it, or interacting with it without even having to use the switch. Anyone got any tips? I can't get my mind off this.
Problem with switch doors.
RPG Maker VXAce SupportCan you show us a screenshot of the door event?
If you put the door down and nothing in the event itself, the player is unable to ever open the door. You must have it set so that the door opens when the player touches it (which, if you use quick event creation, is the default). To make it need a switch do the following.
Page 1: Put the door graphic, and you can (if you choose) have it display a message or something when the player interacts with it. Probably should put something there, else they will have no idea why it doesn't open.
Page 2 (same event): Set this to no graphic, and nothing, and to occur when a switch is on (pick one, just remember which one from 1 - 999 you chose, and give it a name so you know it is in use). Don't use a self switch unless you want to implement it via a script call in the end!
Then, on the switch, set it so that when you use it, it turns on the switch you assigned to the door. Or, you could do it my way and have the switch turn on the self switch for the door (but that requires a script call to pull off).
Edit: You may want to check direction fix on on the door, else it will temporarily change its graphic when you interact with it. Can look funny if you forget this step.
Page 1: Put the door graphic, and you can (if you choose) have it display a message or something when the player interacts with it. Probably should put something there, else they will have no idea why it doesn't open.
Page 2 (same event): Set this to no graphic, and nothing, and to occur when a switch is on (pick one, just remember which one from 1 - 999 you chose, and give it a name so you know it is in use). Don't use a self switch unless you want to implement it via a script call in the end!
Then, on the switch, set it so that when you use it, it turns on the switch you assigned to the door. Or, you could do it my way and have the switch turn on the self switch for the door (but that requires a script call to pull off).
Edit: You may want to check direction fix on on the door, else it will temporarily change its graphic when you interact with it. Can look funny if you forget this step.
Original thread: https://forums.rpgmakerweb.com/threads/problem-with-switch-doors.34973/