NiAVObjectGetProperties

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search

This is a command from NifSE.

Syntax

(array:propertyIDs) NiAVObjectGetProperties short:nifID short:blockID
(array:proeprtyIDs) NiAVObjGetProps short:nifID short:blockID

Returns an array of the blockIDs associated with each of the NiProperty-derived blocks attached to the specified NiAVObject-derived block. Because blockID defaults to 0, the NIF's NiNode root, and NiNode is derived from NiAVObject, this function can be used without the optional argument if seeking the NiProperty-derived blocks attached to the root. However, most often the root of a NIF does not actually have any properties; these are usually found on the root's children.

See Also[edit | edit source]