Generic_Floor

From ZDoom Wiki

Jump to: navigation, search

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

Value Meaning

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:

Value Target

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.

Personal tools