PointInWhichSector ( sec, MapX, MapY )
If Equal("sec,0-1")
	Show "Not inside sector!"
	End
Endif

GetUserInput ( kind, "Kind? (0/1)", "0" )
if equal("kind,0")
	offs = 156
else          
	offs = 177 
endif

SectorDuplicate ( sec )
GetSectorProperty ( fh, nSectors, FloorHeight )
GetSectorProperty ( ch, nSectors, CeilingHeight )
SetSectorProperty ( nSectors, FloorHeight, fh + 43 )
SetSectorProperty ( nSectors, FloorTexture, "CEIL5_1" )

LineDefFlags = LF_TWOSIDED
LineDefFrontSector = sec
LineDefBackSector = nSectors

LineDefFrontBelowTexture = "COMPTALL"
LineDefFrontXOffset = 192
LineDefFrontYOffset = 0
Move 65
Left
LineDefFrontBelowTexture = "COMPSPAN"
LineDefFrontXOffset = 0
LineDefFrontYOffset = 63
Move 12
LineDefFrontXOffset = 21
Move 12
Left
LineDefFrontXOffset = 0
Move 65 
Left
Move 12
LineDefFrontXOffset = 21
Move 12
