NiExtraDataSetName

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search

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.

See Also[edit | edit source]