Skip to main content

Condition_ObjectSize

Description

Compares the size of the BaseObject against a threshold using either SumXYZ (X+Y+Z) or Volume (XYZ) calculation mode.

Parameters

ParameterDescription
BaseObjectThe game object to evaluate (Self or Target)
CompareTypeComparison operator: Less, Greater, LessOrEqual, GreaterOrEqual, Equal, NotEqual, InRange, OutRange
S1Size calculation mode: "SumXYZ" (X+Y+Z) or "Volume" (XYZ)
F1Threshold value (or range minimum for InRange/OutRange)
F2Range maximum used only for InRange/OutRange comparisons

Examples

DescriptionBaseObjectCommandCompareTypeS1F1F2
Check if Target's sum of dimensions is greater than 300TargetObjectSizeGreaterSumXYZ300
Check if Target's volume is less than 100000TargetObjectSizeLessVolume100000
Check if Self's sum of dimensions is between 200 and 500SelfObjectSizeInRangeSumXYZ200500