Condition_IsInWaterByImpactPoint
Description
Determines whether the impact point (target location) is in any water area, including both site swimming pools
and natural water areas outside of sites (e.g., the sea).
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
| Parameter | Description |
|---|
| CompareType | Type of comparison operation (Equal or NotEqual). |
Examples
| Description | BaseObject | Command | CompareType |
|---|
| Checks whether the clicked impact point is in any water area | Self | IsInWaterByImpactPoint | Equal |
| Checks whether the impact point is NOT in any water area | Self | IsInWaterByImpactPoint | NotEqual |
| Checks whether a target location is inside a pool or natural water area | Target | IsInWaterByImpactPoint | Equal |