Floor_RaiseToNearest

From ZDoom Wiki
Jump to navigation Jump to search

25:Floor_RaiseToNearest (tag, speed)


  • tag: Tag of affected sector
  • speed: How quickly the floor moves

Raises a tagged sector's floor to the height of the next higher surrounding floor. If tag is 0, then the sector on the line's back side is used.

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

Type Conversion Trigger
Doom 18:S1 Floor To Higher Adjacent Floor Floor_RaiseToNearest(tag, 8) Player Use
Strife 18:S1 Floor To Higher Adjacent Floor Floor_RaiseToNearest(tag, 8) Player Use
Doom 69:SR Floor To Higher Adjacent Floor Floor_RaiseToNearest(tag, 8) Player Use, Repeatable
Strife 69:SR Floor To Higher Adjacent Floor Floor_RaiseToNearest(tag, 8) Player Use, Repeatable
Doom 119:W1 Floor To Higher Adjacent Floor Floor_RaiseToNearest(tag, 8) Player Cross
Strife 119:W1 Floor To Higher Adjacent Floor Floor_RaiseToNearest(tag, 8) Player Cross
Doom 128:WR Floor To Higher Adjacent Floor Floor_RaiseToNearest(tag, 8) Player Cross, Repeatable
Strife 128:WR Floor To Higher Adjacent Floor Floor_RaiseToNearest(tag, 8) Player Cross, Repeatable
Doom 129:WR Floor To Higher Floor Fast Floor_RaiseToNearest(tag, 32) Player Cross, Repeatable
Strife 129:WR Floor To Higher Floor Fast Floor_RaiseToNearest(tag, 32) Player Cross, Repeatable
Doom 130:W1 Floor To Higher Floor Fast Floor_RaiseToNearest(tag, 32) Player Cross
Strife 130:W1 Floor To Higher Floor Fast Floor_RaiseToNearest(tag, 32) Player Cross
Doom 131:S1 Floor To Higher Floor Fast Floor_RaiseToNearest(tag, 32) Player Use
Strife 131:S1 Floor To Higher Floor Fast Floor_RaiseToNearest(tag, 32) Player Use
Doom 132:SR Floor To Higher Floor Fast Floor_RaiseToNearest(tag, 32) Player Use, Repeatable
Strife 132:SR Floor To Higher Floor Fast Floor_RaiseToNearest(tag, 32) Player Use, Repeatable