NiAVObjectGetProperties

From the Oblivion ConstructionSet Wiki
Revision as of 20:46, 20 January 2011 by imported>DragoonWraith
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