Difference between revisions of "NiNodeGetChildByName"

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search
imported>DragoonWraith
(lower-casing the parameters)
imported>DragoonWraith
Line 10: Line 10:
* [[NiNodeGetNumChildren]]
* [[NiNodeGetNumChildren]]
* [[NiNodeGetChildren]]
* [[NiNodeGetChildren]]
* [[NiNodeDeleteChild]]


[[Category:NifSE|NodeGetChildByName]]
[[Category:NifSE|NodeGetChildByName]]
[[Category:NifSE (NiNode)|GetChildByName]]
[[Category:NifSE (NiNode)|GetChildByName]]

Revision as of 12:51, 31 August 2010

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