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