Skip to main content

Condition_HasCeilingByImpactPoint

Description

Checks whether there is a ceiling above 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 ground location has a ceilingSelfHasCeilingByImpactPointEqual
Checks whether the impact point does NOT have a ceiling aboveSelfHasCeilingByImpactPointNotEqual
Checks whether an outdoor impact point has a ceiling (e.g., under roof)TargetHasCeilingByImpactPointEqual