by Robert The Rebuilder » Tue Apr 07, 2009 5:33 am
Hello, Valdez:
Elevators are not easy, as you're finding out. You will need Python scripts and SDL variables to keep track of where the elevator is currently, what click regions to enable/disable, etc.
If you have libPlasma installed, you can take a look at how the Teledahn elevator logic is wired. Open up Teledahn_District_tldnWorkroom.prp. You'll notice there are LogicModifiers (and corresponding ResponderModifiers) for each button on each floor as well as inside the elevator. There's the PythonFileMod named cPythElevBrain that has references to many more ResponderModifiers, AnimEventModifiers and ExcludeRegionModifiers in order to regulate where the elevator should be when you link in and what clickables to turn off.
I just did a cursory glance, so I cannot provide a detailed how-to description.
Without all this stuff, you'll have artifacts like clicking on a button and seeing the elevator warp to another level, then animate toward your level. If that's OK to you, you could get away with just the logic modifiers/responder modifiers for each button.