NiNodeGetChildByName

From the Oblivion ConstructionSet Wiki
Revision as of 18:32, 28 August 2010 by imported>DragoonWraith (NifGetChildIndexByName moved to NiNodeGetChildByName: new name for function as of alpha 5.)
Jump to navigation Jump to search

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