1.Have a map with a set of stairs behind a door, want to get a key from chest to open door and then pass through.
2.When I come back through, want door to be gone. Have everything working up to when I pass back through door, cant get it to disappear and it repeats the same function as first went through.
Any help would be great, thank you
This seems like more of an eventing issue.
If it is an eventing issue, you'll probably want to make the door event to have a "self-switch" turn on when it becomes unlocked and then, on a second event page for when the self switch is on, have the graphic be blank. That should erase an unlocked door.
I've moved this thread to VX Ace Support. Please be sure to post your threads in the correct forum next time. Thank you.
Scripts are what you see when you press F11. Events are what you see when you double-click on the map editor. Please don't get the two confused - they are VERY different things.
You need to add a new page to your door event, and set its condition to a self switch. Leave the sprite empty. Then, on the first page, right after you transfer the player, use a Control Self Switches command to turn the self switch (that conditions the second page) ON.