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
| Parameter | Description |
|---|
| BaseObject | The base participant (Self or Target) for the comparison context. |
| CompareType | Comparison operation type. Supports InRange and OutRange. |
| S1 | The perspective name to compare between Self and Target. |
| F1 | The perspective difference value to compare against. |
| F2 | The upper bound value used for range comparisons (InRange, OutRange). |
Examples
| Description | BaseObject | Command | CompareType | S1 | F1 | F2 |
|---|
| Check if the difference in Freedom perspective is greater than 50 | Self | PerspectivePointDiff | GreaterOrEqual | Freedom | 50.0 | |
| Check if the difference in Freedom perspective is between 20 and 40 | Self | PerspectivePointDiff | InRange | Freedom | 20.0 | 40.0 |
| Check if the difference in Authority perspective is less than 10 | Self | PerspectivePointDiff | Less | Authority | 10.0 | |