Skip to main content

Condition_HasFloorByImpactPoint

Description

Checks whether there is a constructed floor beneath the impact point (target location). This condition uses the target location directly and does not depend on the BaseObject. Returns false immediately if the target location is the zero vector.

Parameters

ParameterDescription
CompareTypeType of comparison operation (Equal or NotEqual).

Examples

DescriptionBaseObjectCommandCompareType
Checks whether the clicked impact point on the ground has a constructed floorSelfHasFloorByImpactPointEqual
Checks whether the impact point does NOT have a floor beneath itSelfHasFloorByImpactPointNotEqual
Checks whether an indoor impact point has a floor (e.g., inside a room)TargetHasFloorByImpactPointEqual