NiSourceTextureSetExternalTexture

From the Oblivion ConstructionSet Wiki
Revision as of 21:40, 24 April 2010 by imported>DragoonWraith (New page: This is a command from NifSE. '''Syntax''' (bool:success) NifSetNthChildBaseTexture string:FilePath short:ChildID short:NifID Sets the file path of the Base Texture ...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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