ReplaceTextures

From ZDoom Wiki

Jump to: navigation, search

void ReplaceTextures (str oldtexturename, str newtexturename [, flags])

Usage

Replaces all occurences of oldtexturename with newtexturename.

Flags

The following flags are supported for this function and can be combined using the logical or operator | :

  • NOT_BOTTOM
    Do not change any bottom textures on walls.
  • NOT_MIDDLE
    Do not change any middle textures on walls.
  • NOT_TOP
    Do not change any top textures on walls.
  • NOT_FLOOR
    Do not change any floor textures.
  • NOT_CEILING
    Do not change any ceiling textures.

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.
Personal tools