NifSetNthChildMaterial

From the Oblivion ConstructionSet Wiki
Revision as of 21:30, 24 April 2010 by imported>DragoonWraith (New page: This is a command from NifSE. '''Syntax''' (bool:success) NifSetNthChildMaterial string:MaterialName short:ChildID short:NifID Sets the name of the NiMaterialPropert...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

This is a command from NifSE.

Syntax

(bool:success) NifSetNthChildMaterial string:MaterialName short:ChildID short:NifID

Sets the name of the NiMaterialProperty of the specified Child of the root. If the Child does not have a NiMaterialProperty, or the process fails for any other reason, 0 is returned; otherwise the value is 1.

See Also