Status
Not open for further replies.

kiriyubel

Villager
Member
Joined
Oct 31, 2017
Messages
18
Reaction score
5
First Language
Hebrew
Primarily Uses
RMVXA
Good day, all. I hope this is the right place to post this:

I'm using RPG Maker VX Ace and I'm trying to make an elevator:
1. The player press the button to call the elevator.
2. the elevator door opens.
3. the player take a step or two from the elevator button and into the elevator.
4. the player is transferred into the elevator map.
- If the player doesn't enter the elevator in a few second, the doors will close and the player will have to press the button again.
5. In the elevator: the player choose which floor they wants to go to.
6. the player get to the floor they want and are in front of the elevator.

How should I event this?
 

Heirukichi

Veteran
Veteran
Joined
Sep 24, 2015
Messages
1,434
Reaction score
604
First Language
Italian
Primarily Uses
RMVXA
You have different ways to handle this. The one I recommend would be using a parallel process to handle the elevator door.

  1. The player interacts with the button to call the elevator. A switch is set to true and a variable is set to N (N is the number of seconds the door should stay open times 60, aka the number of frames the door should stay open). In the same event, create a move route for the elevator door to let it open.
  2. When the switch is set to true, the parallel process runs (I recommend it being the second page of your button event). The parallel process subtracts 1 from the variable each time it runs. If the variable becomes 0 or less, turn off the switch and start a move route to let the door close.
everything else is just proper usage of basic transfer events and show choices, if you have trouble with that part I strongly recommend reading the tutorial in my signature as it contains a lot of useful information that can help you in the future.
 

EthanFox

Veteran
Veteran
Joined
Oct 15, 2018
Messages
608
Reaction score
395
First Language
English
Primarily Uses
RMMV
As you've had some good advice about how to do it above, I would make a small recommendation - consider simplifying it, and just having them press the button and select a floor. In NALE, I originally did something like this for Nina's office elevator, but in the end I removed it and just had the view fade-to-black, then play relevant sound FX before loading the next floor map.

I just suggest this because for most players, the distinction will not be important (unless you have a game mechanic which somehow uses it) and it's much simpler to do.
 

kiriyubel

Villager
Member
Joined
Oct 31, 2017
Messages
18
Reaction score
5
First Language
Hebrew
Primarily Uses
RMVXA
I decided to take EthanFox's advice and simplify things.
Heirukichi and EthanFox, thank you very much for your replies.
 

slimmmeiske2

Little Red Riding Hood
Global Mod
Joined
Sep 6, 2012
Messages
9,112
Reaction score
5,963
First Language
Dutch
Primarily Uses
RMXP
If your query is solved, please report your post and a moderator will close it. Thank you.
 

hiddenone

Lurker Extraordinaire
Global Mod
Joined
Feb 19, 2014
Messages
2,649
Reaction score
5,580
First Language
english
Primarily Uses
RMMZ

This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.

 
Status
Not open for further replies.

Latest Threads

Latest Profile Posts


AABS laser beams features:
1,Shoot penetrating laser beams for player's normal attack
2,Beam's width/damage/comsumes/loot can be controlled by events/variables with great flexibility
3,Beam can rebound to walls or certain regionID
4,Can play SE when shooting beams
5,Beam's images can be solid images or animated ones.
Surprising nobody, it turns out "next Friday" for the next Jump into Javascript has become "possibly Sunday if you're lucky" XD
Folks, if anyone sends you a message inviting you to add their API to your game, please report them. We don't want people spamming our members asking them to add stuff to their games for their own (or others') benefit. We've updated the forum rules to confirm this.
I'm listening to iiluminaughtii talking about the secrets behind shady businesses and scams. Meanwhile I'm writing a fanfic about Sephiroth from FF7, one specifically for my stepmom. I'll get to give it to her, too, because my boss said I could take the holidays off! Dec. 22-27 I will be in Orlando, and maybe Fort Myers too, visiting my dad and stepmom!
Of course, I bought a handful of games on the Steam Black Friday sale. Will I try them? Will I complete any? Who knows...

Forum statistics

Threads
117,015
Messages
1,103,833
Members
152,911
Latest member
WakeNBake
Top