Condition_CheckOwnerGrowthStep
Description
Checks the GrowthStep (age group) of the owner of the entity specified by BaseObject. Resolves the entity’s ownership data to find the owner, fetches the owner’s BioComponent, and compares the owner’s GrowthStep against the expected value(s) using CompareType. This is useful when the evaluated object is not a character itself (e.g., an owned item) but you want to branch logic based on the owning character’s age group.
Note
S2 may be empty when CompareType does not require an upper bound value.
Parameters
| Parameter | Description |
|---|---|
| BaseObject | The object whose owner’s GrowthStep is checked (Self or Target). |
| CompareType | Comparison operator (Equal, GreaterOrEqual, InRange, 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 the target object’s owner is Youth or older | Target | CheckOwnerGrowthStep | GreaterOrEqual | Youth | |
| Check if the target object’s owner is exactly Adult | Target | CheckOwnerGrowthStep | Equal | Adult | |
| Check if the self object’s owner is between Youth and Adult | Self | CheckOwnerGrowthStep | InRange | Youth | Adult |
| Check if the target object’s owner is not a Child | Target | CheckOwnerGrowthStep | NotEqual | Child |