Pillar_Open

Opens a pillar. If fdist is 0, then the pillar's floor will lower to the lowest surrounding floor. Similarly, if cdist is 0, then the pillar's ceiling will rise to the highest surrounding ceiling. The speed argument controls the speed of whichever part of the pillar has to move further, and the other part will have its speed set so that it arrives at its destination at the same time. If tag is 0, then the sector on the line's back side is used.

30:Pillar_Open (tag, speed, fdist, cdist)

  • tag: Tag of affected sector
  • speed: Speed of the open
  • fdist: How far the floor should lower
  • cdist: How far the ceiling should rise

Note: This will only work on sectors that have equal ceiling and floor heights.

This article is issued from Zdoom. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.