GetObjectChildID

Description

Returns the object ID for a specified child object that was loaded as a result of this object. To find the number of child objects use GetObjectNumChildren. childIndex is in the range 1 to the number of children inclusive. For those of you that are familiar with DarkBasic, objects that contained limbs in DarkBasic would be loaded as child objects in AGK. However there is no hierarchy in the child objects, they would not have children of their own. Instead a bone structure is created in the root object that represents the limb hierarchy, and the child objects are attached to the appropriate bones.

Definition

integer GetObjectChildID( objID, childIndex )

Parameters