Difference between revisions of "NiSourceTextureGetFile"

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search
imported>DragoonWraith
imported>DragoonWraith
m (NifGetNthChildBaseTexture moved to NiSourceTextureGetFile: most similar new function.)
(No difference)

Revision as of 21:01, 28 August 2010

This is a command from NifSE.

Syntax

(string:FilePath) NifGetNthChildBaseTexture short:ChildID short:NifID

Returns the file path (relative to the Oblivion\Data\ folder, not Oblivion\Data\Textures\) of the Base Texture of the specified Child of the root. If the Child does not have a Base Texture, or NiTexturingProperty, or the process fails for any other reason, an empty string is returned and an appropriate message is printed to the Console and NifSE.log.

See Also