SwapTextureOnRef
Revision as of 08:43, 7 April 2016 by imported>Hopper31 (Created page with "{{Function |origin = VEGAS1 |summary = Used to swap a texture for a particular nif block on a given reference. |name = SwapTextureOnRef ''Ref'' ''NifBlockName'' ''PathToNew...")
< [[::Category:Functions|Category:Functions]]
A function included in the GECK Version 1.1.0.262 for Fallout: New Vegas.
Description
Used to swap a texture for a particular nif block on a given reference.
Syntax
SwapTextureOnRef Ref NifBlockName PathToNewTexture
Or:
SwapTexture Ref NifBlockName PathToNewTexture
Example
SwapTexture Player "##Screen:0" "weapons\1handpistol\EuclidScreenSuccess"
Swaps the texture for the nif block named ##Screen:0 on the player to EuclidScreenSuccess.
Notes
Do not include "Data\Textures" or "Textures\" at the start of the path to the new texture. Also be sure to not include the file extension at the end of the path.
Pointing to an invalid texture will result in that particular nif block turning solid magenta instead of the usual missing texture glitches.