NiNodeCopyChild
Revision as of 20:26, 20 January 2011 by imported>DragoonWraith (New page: This is a command from NifSE. '''Syntax''' (short:childID) NiNodeCopyChild short:fromNifID short:fromBlockID short:toNifID ''short:toBlockID'' (short:childID) NiNode...)
This is a command from NifSE.
Syntax
(short:childID) NiNodeCopyChild short:fromNifID short:fromBlockID short:toNifID short:toBlockID (short:childID) NiNodeCopyCh short:nifID short:blockID
Copies the NiAVObject-derived block specified by fromBlockID, and adds it as a child of the NiNode-derived block specified by toBlockID. The fromNifID and toNifID may be the same to copy a child from one part of a nif to another, or different to copy the child of one nif to another. Copies the entire branch, rather than just the NiAVObject specified. Returns the new NiAVObject's blockID if successful, -1 otherwise.