NiExtraDataGetName

From the Oblivion ConstructionSet Wiki
Revision as of 14:13, 29 August 2010 by imported>DragoonWraith (→‎See Also: ObjNET versions)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

This is a command from NifSE.

Syntax

(string:name) NiExtraDataGetName short:nifID short:blockID
(string:name) NiEDGetName short:nifID short:blockID

If the block specified by blockID is of a NiExtraData-derived class, returns the block's name. Note that NiNode blocks, such as the Nif's root, are not derived from NiExtraData, and so when blockID defaults to 0 (the root), this function will fail. NiNode blocks, as with all NiObjectNET-derived blocks, do have names, but you must use NiObjectNETGetName to get it.

See Also[edit | edit source]