Condition_GrowthStep
Description
Checks the GrowthStep (age group) of the entity specified by BaseObject. Evaluates the character's current GrowthStep and compares it against the expected value(s) using CompareType. S2 is used as the upper bound for range comparisons.
Note
S2 may be empty when CompareType does not require an upper bound value.
Parameters
| Parameter | Description |
|---|---|
| BaseObject | The entity whose GrowthStep is checked (Self or Target). |
| CompareType | Comparison operator (Equal, GreaterOrEqual, InRange, OutRange, etc.). |
| S1 | Expected GrowthStep or minimum GrowthStep for range (EB1GrowthStep name). |
| S2 | Maximum GrowthStep for range comparisons (e.g., InRange, OutRange). |
Examples
| Description | BaseObject | Command | CompareType | S1 | S2 |
|---|---|---|---|---|---|
| Check if self is exactly Youth | Self | GrowthStep | Equal | Youth | |
| Check if target is Adult or older | Target | GrowthStep | GreaterOrEqual | Adult | |
| Check if self is between LowTeen and Adult | Self | GrowthStep | InRange | LowTeen | Adult |
| Check if target is not a Child | Target | GrowthStep | NotEqual | Child |