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);
}