Generic_Floor
From ZDoom Wiki
200:Generic_Floor (tag, speed, height, target, flags)
- tag: Tag of affected sector
- speed: How quickly the floor moves
- height: Height of the move (for types that use it)
- target: How to determine the floor's destination height
- flags: Flags for the move
This special encapsulates BOOM's generalized floors. flags is composed of:
- 0 (0x00): No change
- 1 (0x01): Zero sector's special
- 2 (0x02): Change sector's floor picture
- 3 (0x03): Change sector's special
- 4 (0x04): Use numeric model if set, trigger model if not
- 8 (0x08): Raise floor if set, lower it if not
- 16 (0x10): Cause crushing damage if set
target can be one of the following:
- 0: Height units above/below current height
- 1: Highest surrounding floor
- 2: Lowest surrounding floor
- 3: Nearest surrounding floor
- 4: Lowest surrounding ceiling
- 5: This sector's ceiling
- 6: Height units determined by shortest lower texture on sector
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 contibutions are greatly appreciated. |