Skip to main content

Condition_DustyValue

Description

Compares the dusty value of the BaseObject's DustyComponent against the given threshold values.

Parameters

ParameterDescription
BaseObjectThe object whose dusty value will be checked
CompareTypeComparison operator: GreaterOrEqual, LessOrEqual, Equal, NotEqual, InRange, OutRange
F1First threshold value to compare against
F2Second threshold value used only for InRange/OutRange comparisons

Examples

DescriptionBaseObjectCommandCompareTypeF1F2
Check if target's dusty value is greater than or equal to 0.5TargetDustyValueGreaterOrEqual0.5
Check if self's dusty value is less than 0.3SelfDustyValueLess0.3
Check if target's dusty value is between 0.2 and 0.8TargetDustyValueInRange0.20.8