NiExtraDataSetString

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search

This is a command from NifSE.

Syntax

(bool:success) NiExtraDataSetString string:newValue short:nifID short:blockID
(bool:success) NiEDSetStr string:newValue short:nifID short:blockID

If blockID refers to a NiStringExtraData-derived block, sets the value of the block's string variable to newValue. Since NiNode does not derive from NiStringExtraData and blockID defaults to 0, or the NIF's root, this function will almost always require an explicit blockID.

See Also[edit | edit source]