Skip to main content

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

ParameterDescription
BaseObjectThe object whose owner’s GrowthStep is checked (Self or Target).
CompareTypeComparison operator (Equal, GreaterOrEqual, InRange, etc.).
S1Expected GrowthStep or minimum GrowthStep for range (EB1GrowthStep name).
S2Maximum GrowthStep for range comparisons (e.g., InRange, OutRange).

Examples

DescriptionBaseObjectCommandCompareTypeS1S2
Check if the target object’s owner is Youth or olderTargetCheckOwnerGrowthStepGreaterOrEqualYouth
Check if the target object’s owner is exactly AdultTargetCheckOwnerGrowthStepEqualAdult
Check if the self object’s owner is between Youth and AdultSelfCheckOwnerGrowthStepInRangeYouthAdult
Check if the target object’s owner is not a ChildTargetCheckOwnerGrowthStepNotEqualChild