Elevator_MoveToFloor
From ZDoom Wiki
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.

