NiExtraDataGetString

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search

This is a command from NifSE.

Syntax

(string:value) NiExtraDataGetString short:nifID short:blockID
(string:value) NiEDGetStr short:nifID short:blockID

If the block indicated by blockID is of a NiStringExtraData-derived class, returns the block's string value. Because blockID defaults to 0, which is usually the NIF's root, a NiNode, blockID must almost always be specified when using this function (a NIF with a NiStringExtraData as the root node would almost certainly not work correctly).

Returns " " if the function fails for whatever reason.

See Also[edit | edit source]