NiNodeGetChildByName

From the Oblivion ConstructionSet Wiki
Revision as of 18:36, 28 August 2010 by imported>DragoonWraith
Jump to navigation Jump to search

This is a command from NifSE.

Syntax

(short:ChildIndex) NiNodeGetChildByName string:Name short:NifID short:blockID
(short:ChildIndex) NiNodeGetChByName string:Name short:NifID short:blockID

Searches the NiNode-derived block indicated by blockID for a child (a NiAVObject-derived block) with the name specified. Returns -1 if no block by that name is found. If multiple blocks have the same name, this function will return only the first one.

See Also