Elevator Entities

Overview

The elevator entity simulates a moving platform. A switch is used to control the elevator object. By using the elevator entity you can define an object as an elevator to give the player access to different floors within a building.

The elevator entity can be found in Rollup Bar -> Entity -> Elevators.

The Elevator can work together with the ElevatorSwitch, which acts as a call/go button:

  • If the platform is not at the level of the switch, the elevator will come.
  • If the platform is at the level of the switch, then when you press the switch, the elevator will go back to the destination floor.

Linking and Direction

You need to setup a link from the ElevatorSwitch to the Elevator with the desired direction. In order for the link to work you also need to make sure that the name of the link is correct.

Name the link "up" if you want the switch to send the elevator up or name the link "down" if you want to send the elevator down.

  • The Automatic checkbox makes the elevator automatically return to InitialFloor after you exit it.
  • DestinationFloor is the default position for the Elevator to go to.
  • FloorCount represents the number of floors in the building.
  • FloorHeight is the distance between floors, so FloorCount * FloorHeight is how tall your "building is"

You can make horizontal platforms by setting the slide axis to x or y.

Elevator Properties

Property

Description

Automatic

When enabled, elevator will automatically return to initial floor, after reaching destination floor.

Destination Floor

Specifies the destination floor.

FloorCount

Specifies the number of floors.

FloorHeight

Specifies the distance between floors.

InitialFloor

Specifies the floor to start on.

Model

Specifies the model to use.

SmartObjectClass

Specifies the smart object class of the object.

Acceleration

Specifies how fast the elevator accelerates.

Axis

Specifies the axis of the elevator to move.

Speed

Specifies the speed to move.

StopTIme

Specifies how long the lift takes to stop.

ElevatorSwitch Properties

Property

Description

Delay

Specifies how long before the lift starts.

Floor

Specifies the floor.

Model

Specifies the model to use.

SmartObjectClass

Specifies the smart object class of the object.

SoundOnPress

Specifies the sound to use when the object is pressed.