Envision, Create, Share

Welcome to HBGames, a leading amateur game development forum and Discord server. All are welcome, and amongst our ranks you will find experts in their field from all aspects of video game design and development.

[RMXP] Elevator Doors

HoRe

Member

Hi guys! Quick question... I have elevator doors as part of one of my maps. Due to propertions, they stick across two door slots, so I'm going to need to make two side-by-side door open events to make the elevator look believeable. I would like the player to activate the elevator with an action button, so that the two doors then slide apart... but how do I get two events together? Hopefully this question makes sense... if not, please ask for clarification since I'm often in my own head. Thanks. :)
 
I assume you're using 'Move Route' to animate the doors.

You can control the Move Route of one event from another event.

So, in each event, you will have Move Routes to control both doors.
As Grath mentioned, I usually make 1 event, with both move routes, then just
copy it to the other event.
If you use a switch as a Conditional to keep the doors open, use the same switch for both doors as well.

Make sense?
 

HoRe

Member

I think so... you're suggesting I do thus: in one event put

Move Route: This event
        : $> Graphic (one side)
        : $> Wait
        etc.
Move Route: This event
        : $> Graphic (other side)
        : $> Wait
          etc.

and then copy that event onto the other side? I just want to be clear. :)
 

HoRe

Member

Looks spiffy, but there's still the problem I have to open each side of the elevator seperately. :-/ Can I do a switch so that if the player hit one side of the door the other will open at the same time??

I'm slowing getting eventing but I still suck at switches. :)
 

Jason

Awesome Bro

Hmm, okay, let me see, I don't have RMXP on this PC so I THINK it'll be like this:

Elevator door 1 = EVENT001 (This is an example)
Elevator door 2 = EVENT002 (This is an example)

On Elevator door 1, put an event:
Code:
Move Route: This event
         : $> Graphic (one side)
Move Route: EVENT002 (The other door)
         : $> Graphic (one side)
Wait: x frames
Now for Elevator door 2, do the same, but change the EVENT002 to EVENT001.

This SHOULD work, not 100% sure as I don't have it with me.

***
Please note, the EVENT001/002 are just examples, so replace them with the correct event if needed.

Hope I helped :thumb:
 

Thank you for viewing

HBGames is a leading amateur video game development forum and Discord server open to all ability levels. Feel free to have a nosey around!

Discord

Join our growing and active Discord server to discuss all aspects of game making in a relaxed environment. Join Us

Content

  • Our Games
  • Games in Development
  • Emoji by Twemoji.
    Top