Floor_LowerToHighest

From ZDoom Wiki
Jump to navigation Jump to search

242:Floor_LowerToHighest (tag, speed, adjust, force_adjust)


  • tag: Tag of affected sector
  • speed: How quickly the floor moves
  • adjust: Amount of difference from target height + 128
  • force_adjust: Forces to apply the adjusted height.

Lowers a tagged sector's floor to the height of the highest surrounding floor + adjust - 128. So if you want the floor to lower to the height of the highest surrounding floor, use an adjust of 128. If you want it to lower to 8 units below the other floor, use an adjust of 120. Similar for other values of adjust. If tag is 0, then the sector on the line's back side is used.

The adjustment is normally done only if the lowest found floor height is different from the tagged sector's current floor height. However, if force_adjust is set to 1, it is done nonetheless.

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 Floor_LowerToHighest:

Type Conversion Trigger
MiniDoomLogoIcon.pngDoom 19:W1 Floor To Highest Adjacent Floor Floor_LowerToHighest (tag, 8, 128) Player Cross
MiniDoomLogoIcon.pngDoom 36:W1 Floor To 8 Above HAF Fast Floor_LowerToHighest (tag, 32, 136) Player Cross
MiniHereticLogoIcon.pngHeretic 36:W1 Floor To 8 Above HAF Fast Floor_LowerToHighest (tag, 32, 136, 1) Player Cross
MiniStrifeLogoIcon.pngStrife 36:W1 Floor To Highest Adjacent Floor Fast Floor_LowerToHighest (tag, 32, 128) Player Cross
MiniDoomLogoIcon.pngDoom 45:SR Floor To Highest Adjacent Floor Floor_LowerToHighest (tag, 8, 128) Player Use, Repeatable
MiniDoomLogoIcon.pngDoom 70:SR Floor To 8 Above HAF Fast Floor_LowerToHighest (tag, 32, 136) Player Use, Repeatable
MiniHereticLogoIcon.pngHeretic 70:SR Floor To 8 Above HAF Fast Floor_LowerToHighest (tag, 32, 136, 1) Player Use, Repeatable
MiniStrifeLogoIcon.pngStrife 70:SR Floor To Highest Adjacent Floor Fast Floor_LowerToHighest (tag, 32, 128) Player Use, Repeatable
MiniDoomLogoIcon.pngDoom 71:S1 Floor To 8 Above HAF Fast Floor_LowerToHighest (tag, 32, 136) Player Use
MiniHereticLogoIcon.pngHeretic 71:S1 Floor To 8 Above HAF Fast Floor_LowerToHighest (tag, 32, 136, 1) Player Use
MiniStrifeLogoIcon.pngStrife 71:S1 Floor To Highest Adjacent Floor Fast Floor_LowerToHighest (tag, 32, 128) Player Use
MiniDoomLogoIcon.pngDoom 83:WR Floor To Highest Adjacent Floor Floor_LowerToHighest (tag, 8, 128) Player Cross, Repeatable
MiniDoomLogoIcon.pngDoom 98:WR Floor To 8 Above HAF Fast Floor_LowerToHighest (tag, 32, 136) Player Cross, Repeatable
MiniHereticLogoIcon.pngHeretic 98:WR Floor To 8 Above HAF Fast Floor_LowerToHighest (tag, 32, 136, 1) Player Cross, Repeatable
MiniStrifeLogoIcon.pngStrife 98:WR Floor To Highest Adjacent Floor Fast Floor_LowerToHighest (tag, 32, 128) Player Cross, Repeatable
MiniDoomLogoIcon.pngDoom 102:S1 Floor To Highest Adjacent Floor Floor_LowerToHighest (tag, 8, 128) Player Use