NiSourceTextureGetFile

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

(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