Classes:Elevator

From ZDoom Wiki
Jump to navigation Jump to search

Classes: Elevator

Elevator is the sector effect used for special sector elevators, that move both the ceiling and floor at once. Elevators store themselves in both the sectors' ceilingdata and floordata.

Enums

  • EElevator
All the available elevator modes.
  • elevateUp
  • elevateDown
  • elevateCurrent

These are special elevator modes that are used by the FloorAndCeiling_LowerByValue and FloorAndCeiling_RaiseByValue specials instead of the Elevator_* specials.

  • elevateRaise
  • elevateLower

Variables

  • native readonly EElevator m_Type
The type of elevator moving the sector. Covers both the elevator specials themselves and the specials for just moving both the ceiling and floor.
  • native readonly int m_Direction
The direction the elevator is moving towards. Anything less than 0 means its' moving down, 0 means its' stationary (Verification needed), and anything more than 0 means it's moving up.
  • native readonly double m_FloorDestDist
The destination height that the floor is moving towards.
  • native readonly double m_CeilingDestDist
Ditto but for the ceiling.
  • native readonly double m_Speed
The speed at which the elevator moves the sector. In map units per tick.