Condition_ObjectWeathering
Description
Compares the weathering grade of the specified object against the given threshold values (F1, F2). Note: Grade is a non-negative integer. The meaning of each grade depends on the object's weathering group data defined in ObjectWeathering.json.
Parameters
| Parameter | Description |
|---|---|
| BaseObject | The object to validate (Self or Target). |
| CompareType | Type of comparison operation. |
| F1 | The first threshold value for weathering grade comparison. |
| F2 | The second threshold value (used for Between comparison). |
Examples
| Description | BaseObject | Command | CompareType | F1 | F2 |
|---|---|---|---|---|---|
| Checks whether target object weathering grade is 0. | Target | ObjectWeathering | Equal | 0 | |
| Checks whether self object weathering grade >= 1. | Self | ObjectWeathering | GreaterOrEqual | 1 |
Back to Command FinderSearch and filter all 491 Script Condition documents