Plat_DownByValue

From ZDoom Wiki
Jump to navigation Jump to search

63:Plat_DownByValue (tag, speed, delay, height)

  • tag: Tag of affected sector, or 0 to use the line's back sector.
  • speed: Platform's movement speed. Doom's standard platforms move at 32, and blazing platforms move at 64.
  • delay: Tics before going back up. Doom's platforms wait 105 tics.
  • height: Distance to lower, divided by 8.

Lowers a platform by (height * 8) units, waits, and then raises it back to its original position. If tag is 0, then the sector on the line's back side is used.

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.