Creating an elevator event

Hello everyone!!


Today we will learn how to create an elevator thgough events!


Once it is done, the game will be like this:


- press the button to call the elevator


- enter the elevator by yourself


- go to the panel command to press the desired floor button


- go out of the elevator once it arrived.










-------------------------------------------------------------------------------------------------------------------------


Before we begin


You will need some plug-ins to achieve this tutorial:


- Yanfly's Message core & Extented message


- Tsukihime's Custom Page Conditions


If you want an elevator with a 3D effect like in the video, here you are the tileset (includes lights):

Spoiler
Ascenseur.png





-------------------------------------------------------------------------------------------------------------------------


1. Creating your maps


For this tutorial i decided to go with 3 floors: a ground floor (RDC), a 1st floor (1er étage) and a 2nd floor (2ème étage). You will have to create your 3 maps, and create a 'th map: the inside of the elevator. When the tutorial is done, you should end up with something similar to this:

Spoiler

Screenshot1.png​


Screenshot2.png​



-------------------------------------------------------------------------------------------------------------------------


2. Creating your elevator event


We will begin by creating an elevator event:

Spoiler
RDC-Elevator_page1.png


RDC-Elevator_page2.png


RDC-Elevator_page3.png


RDC-Elevator_page4.png


RDC-Elevator_page5.png


Note: this last page is to prevent a glitch later.



-------------------------------------------------------------------------------------------------------------------------


3. Creating your command event


Now we will create our command event. As the pad is included in my elevator sprite, i didn't put any image, but make sure to put one in yours!

Spoiler
RDC_command_page1.png


RDC_command_page2.png


RDC_command_page3.png



-------------------------------------------------------------------------------------------------------------------------


4. Creating your check Player's coordonates on map


Simply create a parallel event with 3 variables:

Spoiler
Map player check.png



-------------------------------------------------------------------------------------------------------------------------


5. Creating the Self Switch "C" deactivation event

Spoiler
Reset Elevator.png



-------------------------------------------------------------------------------------------------------------------------


6. Creating your Inside-Elevator command event

Spoiler

Elevator event1_page1.png
​


Elevator event1_page2-3-4.png
​



-------------------------------------------------------------------------------------------------------------------------


7. Creating the teleport event

Spoiler
Elevator event2_pages.png



-------------------------------------------------------------------------------------------------------------------------


8. Repeat the process


Now do the same thing for your floors, make sure you change the maps ID and Events ID in your self switches script calls and conditions.


And you're done! 🙂


I hope this tutorial was useful, and provided a way to improve how elevators work! So now your player can act and do actions while waiting for the elevator, and even talk to NPCs while the elevator is going upstairs/downstairs! 🙂


 
​
This is an awesome tutorial, it's really cool, thank you so much ByBibo!!


Elevator Time!
This is pretty cool and useful for modern styled games. A+ mate!
I feel like it is possible to do an elevator without the need of those plugins you listed. I could be very wrong. Like it would work a little differently and look a little differently but fuctionally still be an elevator. I havent tried this though so eh.
I cannot find the tileset for inside the elevator and the lights. Is it missing?
This doesn't work. I did everything 1 to 1 with your guide. I even got a french version of the client to make sure I didn't make a mistake. I start by clicking the pad button and it does the "ding" sound but nothing after that happens, the door/elevator doesn't open and it just sits there closed and I can't open it.
Nice.
It works 95% for me because when I go to another floor the elevator door stays open and I press the switch, it does the ding but I can't enter the elevator.

EDIT
I forgot to edit some self-switches.
🤣lol

Original thread: https://forums.rpgmakerweb.com/threads/creating-an-elevator-event.60254/