NiObjectNETSetName

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search

This is a command from NifSE.

Syntax

(bool:success) NiObjectNETSetName string:name short:nifID short:blockID
(bool:success) NiObjNETSetName string:name short:nifID short:blockID

Renames the specified NiObjectNET-derived block. The NIF's root is a NiNode, which is derived from NiObjectNET, so using the default value of blockID, 0, will change the root's name. Returns a 1 on success and a 0 otherwise.

Note[edit | edit source]

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

See Also[edit | edit source]