Difference between revisions of "ScriptChangeSideTexture"

From Amulets & Armor Wiki
Jump to: navigation, search
(Created page with "'''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 lin...")
 
Line 2: Line 2:
  
 
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.
 
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===
 
===Code Example===

Revision as of 17:28, 21 February 2014

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()