Difference between revisions of "NiNodeGetChildByName"

46 bytes added ,  15:20, 25 April 2010
no edit summary
imported>Low Post
m (Removed Nth in the Syntax explanation)
imported>DragoonWraith
Line 4: Line 4:
  (short:ChildIndex) NifGetChildIndexByName string:Name short:NifID
  (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 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 ==
== See Also ==