Difference between revisions of "NiNodeGetChildByName"

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search
imported>DragoonWraith
imported>DragoonWraith
m (NifGetChildIndexByName moved to NiNodeGetChildByName: new name for function as of alpha 5.)

Revision as of 18:32, 28 August 2010

This is a command from NifSE.

Syntax

(short:ChildIndex) NifGetChildIndexByName string:Name short:NifID

Returns the index of the first Child of the root to have the specified name. Most useful for finding a weapon's scabbard by calling for "Scb". Returns -1 if there is no Child by that name.

See Also