NiSourceTextureSetExternalTexture

From the Oblivion ConstructionSet Wiki
Revision as of 10:51, 25 April 2010 by imported>DragoonWraith
Jump to navigation Jump to search

This is a command from NifSE.

Syntax

(bool:success) NifSetNthChildBaseTexture string:FilePath short:ChildID short:NifID

Sets the file path of the Base Texture of the specified Child of the root to the specified file path. File path must be relative to Oblivion\Data\, not Oblivion\Data\Textures\ - this follows NifGetNthChildBaseTexture. If the Child has no Base Texture, or no NiTexturingProperty, or the process fails for any other reason, a 0 is returned; otherwise the return is 1.

See Also