Skip to main content

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

ParameterDescription
BaseObjectThe object to validate (Self or Target).
CompareTypeType of comparison operation.
F1The first threshold value for weathering grade comparison.
F2The second threshold value (used for Between comparison).

Examples

DescriptionBaseObjectCommandCompareTypeF1F2
Checks whether target object weathering grade is 0.TargetObjectWeatheringEqual0
Checks whether self object weathering grade >= 1.SelfObjectWeatheringGreaterOrEqual1