Skip to main content

Condition_PerspectivePointDiff

Description

Compares the absolute difference in the specified perspective (S1) between Self and Target against F1 using the given CompareType. Used when two participants are involved (e.g. cooperative actions or dialogues). Supports range comparisons using F2 as the upper bound.

Parameters

ParameterDescription
BaseObjectThe base participant (Self or Target) for the comparison context.
CompareTypeComparison operation type. Supports InRange and OutRange.
S1The perspective name to compare between Self and Target.
F1The perspective difference value to compare against.
F2The upper bound value used for range comparisons (InRange, OutRange).

Examples

DescriptionBaseObjectCommandCompareTypeS1F1F2
Check if the difference in Freedom perspective is greater than 50SelfPerspectivePointDiffGreaterOrEqualFreedom50.0
Check if the difference in Freedom perspective is between 20 and 40SelfPerspectivePointDiffInRangeFreedom20.040.0
Check if the difference in Authority perspective is less than 10SelfPerspectivePointDiffLessAuthority10.0