NifOpen

Revision as of 20:27, 24 April 2010 by imported>DragoonWraith (New page: This is a command from Category:NifSE. '''Syntax''' (short:NifID) NifOpen string:FilePath ''bool:writable'' Opens a .nif 3D mesh file for reading, or if the optional bool is true,...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

This is a command from NifSE.

Syntax

(short:NifID) NifOpen string:FilePath bool:writable

Opens a .nif 3D mesh file for reading, or if the optional bool is true, editing. Returns a unique identifier which may be passed to other NifSE functions in order to refer to the mesh.

Notes

  • The file path must be relative to the Oblivion\Data\Meshes\ folder. This is the same scheme as used by similar OBSE functions.
  • NifSE creates a copy of the indicated .nif file when you request a writable nif, and the nif you are actually editing is that nif. The original nif is not altered in any way. You can get the file path of the copy with NifGetPath.

See Also