ScriptChangeSideTexture

From Amulets & Armor Wiki
Revision as of 17:28, 21 February 2014 by PeeWeeRotA (Talk | contribs)

Jump to: navigation, search

ChangeSideTexture( [SideNum], [Texture Name])

This command changes the specified side to the texture name provided. The value for SideNum is the side value, not the linedef number. The side value can be seen in the expanded information console on the bottom of the screen in Doom Builder 2 when a linedef is selected with the linedef tool.

Arguments

SideNum - Sidedef number used to apply the texture. Visible on expanded console in Doom Builder 2.

Texture Name - Name of texture in PICS.Res. (WAD image entries do not have file extensions). Can also be found in the A&A Assets folder in the Doom Builder Editor files.

Code Example

40:  // open exit door with switch
   ChangeSideTexture(1372,"SWIT1U");
   SlideCeilingNice(112, 0, 120, 50, -1);
   End()