Difference between revisions of "NiObjectNETGetName"

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search
imported>DragoonWraith
imported>DragoonWraith
(about NiEDGetName)
Line 8: Line 8:


Returns <tt>" "</tt> on failure.
Returns <tt>" "</tt> on failure.
== Note ==
* <tt>NiExtraData</tt> blocks have names, but are not derived from <tt>NiObjectNET</tt>. Therefore, you must use [[NiExtraDataGetName]] for those blocks.


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

Revision as of 14:14, 29 August 2010

This is a command from NifSE.

Syntax

(string:name) NiObjectNETGetName short:nifID short:blockID
(string:name) NiObjNETGetName short:nifID short:blockID

Returns the name of the specified NiObjectNET derived block. The default value of blockID is 0, referring to the root NiNode. NiNode is derived from NiObjectNET, and so this function can get its name.

Returns " " on failure.

Note

  • NiExtraData blocks have names, but are not derived from NiObjectNET. Therefore, you must use NiExtraDataGetName for those blocks.

See Also