Difference between revisions of "NiSourceTextureSetExternalTexture"

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search
imported>DragoonWraith
imported>DragoonWraith
m (NifSetNthChildBaseTexture moved to NiSourceTextureSetExternalTexture: new name for function as of alpha 5.)
(No difference)

Revision as of 13:58, 29 August 2010

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