Find_Category

Category: Objects / Search
Since engine version: 4.9.6.0 CR

Description

Search criterion: finds all objects of the specified category.

Syntax

array Find_Category (int iCategory);

Parameter

iCategory:
Object category of the objects to find

Remark

For additional information on the use of this function see FindObjects.

Examples

FindObjects(Find_Category(C4D_Structure))
Returns a list of all buildings.
FindObjects(Find_Category(C4D_Rule | C4D_Goal))
Returns all active goal and rule objects. Notice that categories can be combined using "|". This will find all objects which fulfill at least one of the categories.
See also: FindObjects
Clonkonaut, Juli 2006