GetUserInput ( angle, "Angle?", "0" )
x = MapX
y = MapY
PointInWhichSector ( sec, x, y )
SectorDuplicate ( sec )
GetSectorProperty ( fh, nSectors, FloorHeight )
SetSectorProperty ( nSectors, FloorHeight, fh + 16 )
SetSectorProperty ( nSectors, FloorTexture, "CRATOP1" )
LineDefFlags = LF_TWOSIDED
LineDefFrontSector = sec
LineDefFrontBelowTexture = "CRATINY"
LineDefBackSector = nSectors
dist = Sqrt ( 8 * 8 * 2 )
RotatePoint ( x1, y1, x, y, dist, angle )
RotatePoint ( x2, y2, x, y, dist, angle + 90 )
RotatePoint ( x3, y3, x, y, dist, angle + 180 )
RotatePoint ( x4, y4, x, y, dist, angle + 270 )
NewLineDef ( x1, y1, x2, y2 )
NewLineDef ( x2, y2, x3, y3 )
NewLineDef ( x3, y3, x4, y4 )
NewLineDef ( x4, y4, x1, y1 )
