Difference between revisions of "NiSourceTextureSetExternalTexture"
no edit summary
imported>DragoonWraith (New page: This is a command from NifSE. '''Syntax''' (bool:success) NifSetNthChildBaseTexture string:FilePath short:ChildID short:NifID Sets the file path of the Base Texture ...) |
imported>DragoonWraith |
||
Line 4: | Line 4: | ||
(bool:success) NifSetNthChildBaseTexture string:FilePath short:ChildID short:NifID | (bool:success) NifSetNthChildBaseTexture string:FilePath short:ChildID short:NifID | ||
Sets the file path of the Base Texture of the specified Child of the root to the specified file path. File path must be relative to Oblivion\Data\, '''not Oblivion\Data\Textures\''' - this follows [[NifGetNthChildBaseTexture]]. If the Child has no Base Texture, or no NiTexturingProperty, or the process fails for any other reason, a 0 is returned; otherwise the return is 1. | Sets the file path of the Base Texture of the specified Child of the root to the specified file path. File path must be relative to <tt>Oblivion\Data\</tt>, '''not <tt>Oblivion\Data\Textures\</tt>''' - this follows [[NifGetNthChildBaseTexture]]. If the Child has no Base Texture, or no NiTexturingProperty, or the process fails for any other reason, a 0 is returned; otherwise the return is 1. | ||
== See Also == | == See Also == |