Difference between revisions of "NiExtraDataSetName"
Jump to navigation
Jump to search
imported>DragoonWraith m (NifSetNthExtraDataName moved to NiExtraDataSetName: new name) |
imported>DragoonWraith |
||
Line 2: | Line 2: | ||
'''Syntax''' | '''Syntax''' | ||
(bool:success) | (bool:success) NiExtraDataSetName string:name short:nifID ''short:blockID'' | ||
Renames the | Renames the <tt>NiExtraData</tt>-derived block indicated by <tt>blockID</tt>. As the NIF's root is usually a <tt>NiNode</tt>, that is, not a <tt>NiExtraData</tt>-derived class, the default value of <tt>blockID</tt>, 0, will not work. | ||
== Note == | |||
* <tt>NiObjectNET</tt>-derived classes, <tt>NiNode</tt> included, ''do'' have names, but do not derive from <tt>NiExtraData</tt>. You must therefore use [[NiObjectNETSetName]] with those blocks. | |||
== See Also == | == See Also == | ||
* [[ | * [[NiExtraDataGetName]] | ||
* [[ | |||
* [[NiObjectNETGetName]] | |||
* [[NiObjectNETSetName]] | |||
[[Category:NifSE| | [[Category:NifSE|ExtraDataSetName]] | ||
[[Category:NifSE ( | [[Category:NifSE (NiExtraData)|SetName]] |
Latest revision as of 14:22, 29 August 2010
This is a command from NifSE.
Syntax
(bool:success) NiExtraDataSetName string:name short:nifID short:blockID
Renames the NiExtraData-derived block indicated by blockID. As the NIF's root is usually a NiNode, that is, not a NiExtraData-derived class, the default value of blockID, 0, will not work.
Note[edit | edit source]
- NiObjectNET-derived classes, NiNode included, do have names, but do not derive from NiExtraData. You must therefore use NiObjectNETSetName with those blocks.