NiSourceTextureGetFile

Revision as of 21:01, 28 August 2010 by imported>DragoonWraith (NifGetNthChildBaseTexture moved to NiSourceTextureGetFile: most similar new function.)

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