Floor_LowerToHighest

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

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:

TypeConversionTrigger
Doom 19:W1 Floor To Highest Adjacent FloorFloor_LowerToHighest (tag, 8, 128)Player Cross
Doom 36:W1 Floor To 8 Above HAF FastFloor_LowerToHighest (tag, 32, 136)Player Cross
Heretic 36:W1 Floor To 8 Above HAF FastFloor_LowerToHighest (tag, 32, 136, 1)Player Cross
Strife 36:W1 Floor To Highest Adjacent Floor FastFloor_LowerToHighest (tag, 32, 128)Player Cross
Doom 45:SR Floor To Highest Adjacent FloorFloor_LowerToHighest (tag, 8, 128)Player Use, Repeatable
Doom 70:SR Floor To 8 Above HAF FastFloor_LowerToHighest (tag, 32, 136)Player Use, Repeatable
Heretic 70:SR Floor To 8 Above HAF FastFloor_LowerToHighest (tag, 32, 136, 1)Player Use, Repeatable
Strife 70:SR Floor To Highest Adjacent Floor FastFloor_LowerToHighest (tag, 32, 128)Player Use, Repeatable
Doom 71:S1 Floor To 8 Above HAF FastFloor_LowerToHighest (tag, 32, 136)Player Use
Heretic 71:S1 Floor To 8 Above HAF FastFloor_LowerToHighest (tag, 32, 136, 1)Player Use
Strife 71:S1 Floor To Highest Adjacent Floor FastFloor_LowerToHighest (tag, 32, 128)Player Use
Doom 83:WR Floor To Highest Adjacent FloorFloor_LowerToHighest (tag, 8, 128)Player Cross, Repeatable
Doom 98:WR Floor To 8 Above HAF FastFloor_LowerToHighest (tag, 32, 136)Player Cross, Repeatable
Heretic 98:WR Floor To 8 Above HAF FastFloor_LowerToHighest (tag, 32, 136, 1)Player Cross, Repeatable
Strife 98:WR Floor To Highest Adjacent Floor FastFloor_LowerToHighest (tag, 32, 128)Player Cross, Repeatable
Doom 102:S1 Floor To Highest Adjacent FloorFloor_LowerToHighest (tag, 8, 128)Player Use
This article is issued from Zdoom. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.