Polyobj DoorSlide

From Eternity Wiki
Jump to navigationJump to search

8:350:Polyobj_DoorSlide(id, speed, angle, distance, delay)

  • id: polyobject to move
  • speed: speed of polyobject, by eighths of map unit per tic
  • angle: byte angle direction to move to, when opening
  • distance: how far to move when opening
  • delay: time to stay open, in tics.

Slides the polyobject as a door, making it return to the original position after a set time. Cannot be retriggered to close the same way as Door_Raise.