Difference between revisions of "NiNodeAddChild"
Jump to navigation
Jump to search
imported>DragoonWraith (New page: This is a command from NifSE. '''Syntax''' (short:childID) NiNodeAddChild string:name short:typeID short:nifID ''short:blockID'' (short:childID) NiNodeAddCh string:n...) |
|||
Line 13: | Line 13: | ||
[[Category:NifSE|NodeAddChild]] | [[Category:NifSE|NodeAddChild]] | ||
[[Category:NifSE (NiNode)|AddChild]] | [[Category:NifSE (NiNode)|AddChild]] | ||
H |
Revision as of 12:23, 21 December 2023
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.
See Also
H