ZDoom Line Specials

100:Scroll_Texture_Left
101:Scroll_Texture_Right
102:Scroll_Texture_Up
103:Scroll_Texture_Down

Name

Scroll_Texture_Left — scrolls the textures on a line left.

Scroll_Texture_Right — scrolls the textures on a line right.

Scroll_Texture_Up — scrolls the textures on a line up.

Scroll_Texture_Down — scrolls the textures on a line down.

Synopses

Scroll_Texture_Left (speed);
Scroll_Texture_Right (speed);
Scroll_Texture_Up (speed);
Scroll_Texture_Down (speed);
			
Scroll_Texture_Left (
  speed      // speed to scroll left at
);

Scroll_Texture_Right (
  speed      // speed to scroll right at
);

Scroll_Texture_Up (
  speed      // speed to scroll up at
);

Scroll_Texture_Down (
  speed      // speed to scroll down at
);

Parameters

speed
How fast the textures should scroll. A speed of 64 is equal to 1 texel/tic.

ACS

These specials can only be used on a line, and you cannot use SetLineSpecial to place any of them on a line after the level has been loaded.

Remarks

When you use these specials to scroll a texture, the effect is permanent. If you want to adjust a line's scrolling while a level is in play, you can use the Scroll_Texture_Both special.

These specials also scroll every texture on a line—upper, middle, and lower textures.

Examples

The standard Doom line type 48 (scroll left) is equivalent to this:

Scroll_Texture_Left (64);

The BOOM line type 85 and Heretic line type 99 (scroll right) are equivalent to this:

Scroll_Texture_Right (64);

First Available In

Hexen

See Also

Scroll_Texture_Both | Scroll_Texture_Model | Scroll_Texture_Offsets