Scroll_Ceiling
From ZDoom Wiki
line version:
224:Scroll_Ceiling (tag, scrollbits, unused, x-move, y-move)
script version:
224:Scroll_Ceiling (tag, x-move, y-move, unused)
- tag: tag of affected sector
- scrollbits: how the scrolling speed is determined (see below)
- unused: does nothing, contrary to Scroll_Floor.
- x-move/y-move: how quickly and in what directions to scroll.
scrollbits: Selects the type of scroller and how the speed and angle is determined.
- bit 0(1): Displacement scroller
- bit 1(2): Accelerative scroller
- bit 2(4): Use this linedef to get dx and dy
This special takes 5 arguments when placed on a line, but 4 arguments when used in a script.
x-move and y-move are only used if scrollbits does not indicate to use the linedef to determine the scroll rate. When placed on a line, 128 is subtracted from these values to determine the actual direction and rate of scroll. (So 128 would be no scroll.) When used in a script, positive values move north/east, while negative values move south/west.
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. |