This is the documentation for the development version. There are no official binaries for it; build it from the source code in git. Download links on these pages work only after the release. For the current release, see version 7.0.

GetObjectChildren()

Deprecated in 3.0.

Please use children attribute in NetObj.

GetObjectChildren(object): Array

Return array of child objects for the object.

Table 1. Parameters

object

Target object.

Return

Array of NetObj instances.

// Log names and ids of all accessible child objects for current node
children = GetObjectChildren($node);
for (p : children)
{
	trace(1, "Child object: name='" .. p.name .. "' id=" .. p.id);
}