NiAVObjectDeleteProperty

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search

This is a command from NifSE.

Syntax

(bool:success) NiAVObjectDeleteProperty short:propID short:nifID short:blockID
(bool:success) NiAVObjDelProp short:propID short:nifID short:blockID

Deletes the NiProperty-derived block specified by propID from the property list of the NiAVObject specified by blockID.

Because blockID's default value, 0, refers to the NIF's root NiNode, which derives from NiAVObject, this function can delete properties from the root by not specifying an explicit blockID.

See Also[edit | edit source]