Scroll_Texture_Both

221:Scroll_Texture_Both (lineid, left, right, down, up)

  • lineid: Line ID of line to scroll
  • left: Speed to scroll left
  • right: Speed to scroll right
  • down: Speed to scroll down
  • up: Speed to scroll up

Scrolls a texture both horizontally and vertically. If the lineid is 0, this special will affect the speed of the texture scrolling on the line it is placed on. The other four parameters determine how quickly the texture scrolls in each direction.

If you use a non-zero lineid, you can change the scrolling of the specified lines when this special is activated (either directly or in a script). A positive lineid changes the scrolling on the front of the line, and a negative lineid changes the scrolling on the back of the line.

Of note: when applying to this property to a row of textures, only the visibly front-facing textures seem to be affected.

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 contributions are greatly appreciated.

Conversions from linedef types

The following Doom map format types can be converted as :

TypeConversionTrigger
EDGE 425:Scroll Up & LeftScroll_Texture_Both (0, 64, 0, 0, 64)
EDGE 426:Scroll Down & LeftScroll_Texture_Both (0, 64, 0, 64, 0)
EDGE 427:Scroll Up & RightScroll_Texture_Both (0, 0, 64, 0, 64)
EDGE 428:Scroll Down & RightScroll_Texture_Both (0, 0, 64, 64, 0)
This article is issued from Zdoom. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.