Elevator_RaiseToNearest

From ZDoom Wiki
Jump to navigation Jump to search

245:Elevator_RaiseToNearest (tag, speed)

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

Raises the floor and ceiling of the tagged sector so that its floor aligns with the floor of the next higher sector 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 contributions are greatly appreciated.


Conversions from linedef types

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

Type Conversion Trigger
MiniBoomLogoIcon.pngBoom 227:W1 Elevator To Higher Floor Elevator_RaiseToNearest (tag, 32) Player Cross
MiniBoomLogoIcon.pngBoom 228:WR Elevator To Higher Floor Elevator_RaiseToNearest (tag, 32) Player Cross, Repeatable
MiniBoomLogoIcon.pngBoom 229:S1 Elevator To Higher Floor Elevator_RaiseToNearest (tag, 32) Player Use
MiniBoomLogoIcon.pngBoom 230:SR Elevator To Higher Floor Elevator_RaiseToNearest (tag, 32) Player Use, Repeatable