Description
Compares the dusty value of the BaseObject's DustyComponent against the given threshold values.
Parameters
| Parameter | Description |
|---|
| BaseObject | The object whose dusty value will be checked |
| CompareType | Comparison operator: GreaterOrEqual, LessOrEqual, Equal, NotEqual, InRange, OutRange |
| F1 | First threshold value to compare against |
| F2 | Second threshold value used only for InRange/OutRange comparisons |
Examples
| Description | BaseObject | Command | CompareType | F1 | F2 |
|---|
| Check if target's dusty value is greater than or equal to 0.5 | Target | DustyValue | GreaterOrEqual | 0.5 | |
| Check if self's dusty value is less than 0.3 | Self | DustyValue | Less | 0.3 | |
| Check if target's dusty value is between 0.2 and 0.8 | Target | DustyValue | InRange | 0.2 | 0.8 |