Skip to main content

Condition_ChildCount

Description

Checks the number of child game objects of the BaseObject that have the specified object tag. The child count is compared against the given value using the specified comparison type.

Parameters

ParameterDescription
BaseObjectThe game object (Self or Target) whose child objects are checked
CompareTypeType of comparison operation
S1Object tag used to filter child game objects
F1Value to compare against the number of matching child objects

Examples

DescriptionBaseObjectCommandCompareTypeS1F1
Checks whether the target game object has one or more child objects with the Crop object tagTargetChildCountGreaterOrEqualCrop1.0