NiSourceTextureGetFile

From the Oblivion ConstructionSet Wiki
Revision as of 21:37, 24 April 2010 by imported>DragoonWraith (New page: This is a command from NifSE. '''Syntax''' (string:FilePath) NifGetNthChildBaseTexture short:ChildID short:NifID Returns the file path (relative to the Oblivion\Data...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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