Elevator_MoveToFloor

From ZDoom Wiki
Jump to: navigation, search

246:Elevator_MoveToFloor (tag, speed)

  • tag: Tag of affected sector
  • speed: How fast the elevator moves

Moves the floor and ceiling of the tagged sector so that its floor aligns with the floor of the sector the activating linedef is facing, while keeping the same amount of distance between the floor and ceiling.

Examples

Nuvolachalk.png Note: This article lists no examples. If you make use of this feature in your own project(s) or know of any basic examples that could be shared, please add them. This will make it easier to understand for future authors seeking assistance. Your contibutions are greatly appreciated.


Conversions from linedef types

The following Doom map format types can be converted as Elevator_MoveToFloor:

Type Conversion Trigger
MiniBoomLogoIcon.pngBoom 235:W1 Elevator To Current Floor Elevator_MoveToFloor (tag, 32) Player Cross
MiniBoomLogoIcon.pngBoom 236:WR Elevator To Current Floor Elevator_MoveToFloor (tag, 32) Player Cross, Repeatable
MiniBoomLogoIcon.pngBoom 237:S1 Elevator To Current Floor Elevator_MoveToFloor (tag, 32) Player Use
MiniBoomLogoIcon.pngBoom 238:SR Elevator To Current Floor Elevator_MoveToFloor (tag, 32) Player Use, Repeatable