Difference between revisions of "NiObjectNETGetName"
Jump to navigation
Jump to search
imported>DragoonWraith m (NiObjectGetName moved to NiObjectNETGetName: drr... wrong one.) |
imported>DragoonWraith (→See Also: NiED versions) |
||
(2 intermediate revisions by the same user not shown) | |||
Line 2: | Line 2: | ||
'''Syntax''' | '''Syntax''' | ||
(string: | (string:name) NiObjectNETGetName short:nifID ''short:blockID'' | ||
(string:name) NiObjNETGetName short:nifID ''short:blockID'' | |||
Returns the name of the specified | 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 == | ||
* [[ | * [[NiObjectNETSetName]] | ||
* [[ | |||
* [[NiExtraDataGetName]] | |||
* [[NiExtraDataSetName]] | |||
[[Category:NifSE| | [[Category:NifSE|ObjectNETGetName]] | ||
[[Category:NifSE ( | [[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.