Difference between revisions of "NiSourceTextureGetFile"

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search
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...)
 
imported>DragoonWraith
Line 4: Line 4:
  (string:FilePath) NifGetNthChildBaseTexture short:ChildID short:NifID
  (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.
Returns the file path (relative to the <tt>Oblivion\Data\</tt> folder, '''not <tt>Oblivion\Data\Textures\</tt>''') 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 ==
== See Also ==

Revision as of 10:51, 25 April 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