Line SetTextureOffset
From ZDoom Wiki
53:Line_SetTextureOffset (lineid, x, y, side, flags)
(development version only)
Usage
Changes the offset of a texture at run-time. This can be used during runtime for special effects, and it is possible to set the offsets of upper, mid, and lower textures seperately. This special cannot be used directly on a line in the map, but must be called from an ACS script instead.
side can be SIDE_FRONT or SIDE_BACK.
x and y are fixed point values; using NO_CHANGE leaves it alone.
flags can be a combination of the following flags:
- 1: upper texture
- 2: mid texture
- 4: lower texture
- 8: add to offset (as opposed to directly setting it)
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. |

