Difference between revisions of "NifGetPath"

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search
imported>DragoonWraith
imported>DragoonWraith
Line 4: Line 4:
  (string:FilePath) NifGetPath short:NifID
  (string:FilePath) NifGetPath short:NifID


Returns the file path (relative to the Oblivion\Data\Meshes\ folder) of the particular nif that the NifID refers to. Note that for writable nifs, this will differ from the file path given to [[NifOpen]], so this function must be used in order to get that file path for use. [[NifGetOriginalPath]] will return the file path given to NifOpen, if desired.
Returns the file path (relative to the <tt>Oblivion\Data\Meshes\</tt> folder) of the particular nif that the NifID refers to. Note that for writable nifs, this will differ from the file path given to [[NifOpen]], so this function must be used in order to get that file path for use. [[NifGetOriginalPath]] will return the file path given to NifOpen, if desired.


== See Also ==
== See Also ==

Revision as of 10:48, 25 April 2010

This is a command from NifSE.

Syntax

(string:FilePath) NifGetPath short:NifID

Returns the file path (relative to the Oblivion\Data\Meshes\ folder) of the particular nif that the NifID refers to. Note that for writable nifs, this will differ from the file path given to NifOpen, so this function must be used in order to get that file path for use. NifGetOriginalPath will return the file path given to NifOpen, if desired.

See Also