Condition_ComparePreference
Description
Counts how many preferences Self and Target share (same preference ID and same like/dislike state), then compares that count using CompareType.
Parameters
| Parameter | Description |
|---|---|
| BaseObject | Not used to resolve the entity; always compares Self against Target's preference map. |
| CompareType | Supported compare types: Equal, NotEqual, Greater, Less, GreaterEqual, LessEqual, InRange, OutRange. |
| F1 | The reference count of matching preferences to compare against (or the lower bound for range). |
| F2 | The upper bound value for InRange/OutRange comparisons. |
Examples
| Description | BaseObject | Command | CompareType |
|---|---|---|---|
| Check if Self and Target share 2 preferences | Self | ComparePreference | Equal |
| Check if they share fewer than 3 preferences | Self | ComparePreference | Less |
| Check if they share 2 to 5 preferences | Self | ComparePreference | InRange |
| Check if they share none of the same | Self | ComparePreference | Equal |