Skip to main content

Condition_RelationshipStatRange

Description

Checks if the relationship stat value between BaseObject and the counterpart falls within the specified [F1, F2] range. Supports the "Any" keyword in S1 to check whether any available stat is within range (OR operation). If a specific stat ID is provided in S1, only that stat is evaluated.

Parameters

ParameterDescription
BaseObjectCharacter whose relationship stat is checked (Self or Target)
CompareTypeType of comparison operation (Equal, NotEqual)
S1Relationship stat ID to check, or "Any" to check all available stats
F1Minimum value of the range (inclusive)
F2Maximum value of the range (inclusive)

Examples

DescriptionBaseObjectCommandCompareTypeS1F1F2
Friendship with target is between 50 and 100SelfRelationshipStatRangeEqualFriendship50100
Any relationship stat with target is NOT between 0 and 30SelfRelationshipStatRangeNotEqualAny030
Romance stat with target is in negative range (-50 to -10)SelfRelationshipStatRangeEqualRomance-50-10
Target's friendship toward Self is between 20 and 80TargetRelationshipStatRangeEqualFriendship2080