Condition_ObjectSize
Description
Compares the size of the BaseObject against a threshold using either SumXYZ (X+Y+Z) or Volume (XYZ) calculation mode.
Parameters
| Parameter | Description |
|---|---|
| BaseObject | The game object to evaluate (Self or Target) |
| CompareType | Comparison operator: Less, Greater, LessOrEqual, GreaterOrEqual, Equal, NotEqual, InRange, OutRange |
| S1 | Size calculation mode: "SumXYZ" (X+Y+Z) or "Volume" (XYZ) |
| F1 | Threshold value (or range minimum for InRange/OutRange) |
| F2 | Range maximum used only for InRange/OutRange comparisons |
Examples
| Description | BaseObject | Command | CompareType | S1 | F1 | F2 |
|---|---|---|---|---|---|---|
| Check if Target's sum of dimensions is greater than 300 | Target | ObjectSize | Greater | SumXYZ | 300 | |
| Check if Target's volume is less than 100000 | Target | ObjectSize | Less | Volume | 100000 | |
| Check if Self's sum of dimensions is between 200 and 500 | Self | ObjectSize | InRange | SumXYZ | 200 | 500 |
Back to Command FinderSearch and filter all 491 Script Condition documents