Difference between revisions of "NiObjectNETGetName"

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search
imported>DragoonWraith
(New page: This is a command from Category:NifSE. '''Syntax''' (string:Name) NifGetNthChildName short:ChildID short:NifID Returns the name of the specified Child of the root node of the nif....)
 
imported>DragoonWraith
(→‎See Also: NiED versions)
 
(4 intermediate revisions by the same user not shown)
Line 2: Line 2:


'''Syntax'''
'''Syntax'''
  (string:Name) NifGetNthChildName short:ChildID short:NifID
  (string:name) NiObjectNETGetName short:nifID ''short:blockID''
(string:name) NiObjNETGetName short:nifID ''short:blockID''


Returns the name of the specified Child of the root node of the nif.
Returns the name of the specified <tt>NiObjectNET</tt> derived block. The default value of <tt>blockID</tt> is 0, referring to the root <tt>NiNode</tt>. <tt>NiNode</tt> is derived from <tt>NiObjectNET</tt>, and so this function can get its name.
 
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 ==
* [[NifSetNthChildName]]
* [[NiObjectNETSetName]]
* [[NifGetChildIndexByName]]
 
* [[NiExtraDataGetName]]
* [[NiExtraDataSetName]]


[[Category:NifSE|GetNthChildName]]
[[Category:NifSE|ObjectNETGetName]]
[[Category:NifSE (Children)|GetNthChildName]]
[[Category:NifSE (NiObjectNET)|GetName]]

Latest 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[edit | edit source]

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

See Also[edit | edit source]