[dismiss]
This wiki is a copy of the original Oblivion CS wiki created and maintained by the UESP.net. See CSwiki:Copy Notice for more info.
NiNodeAddChild
Jump to navigation
Jump to search
This is a command from NifSE.
Syntax
(short:childID) NiNodeAddChild string:name short:typeID short:nifID short:blockID (short:childID) NiNodeAddCh string:name short:typeID short:nifID short:blockID
Adds a NiAVObject-derived block of the type indicated by typeID as a child of the NiNode-derived block specified by blockID. Use GetNifTypeIndex to determine the typeID for your desired block type. Returns the new block's blockID if successful, -1 otherwise.