Condition_MainEmotionGroupWithTarget
Description
Compares the BaseObject's main emotion group toward the NonBaseObject with S1 EmotionGroup. Uses MemoryComponent's existing expiration, group value and priority rules. A valid target with no records, or only expired records, has the Neutral main group.
Parameters
| Parameter | Description |
|---|---|
| BaseObject | Owner of the memory (Self or Target); the other entity is the target. |
| CompareType | Equal: the condition matches / NotEqual: it does not match. |
| S1 | EB1EmotionGroup: Neutral, Joy, Gratitude, Attraction, Anger, Hurt, Distance. |
| S2, F1, F2 | Unused. |
Examples
| Description | BaseObject | Command | S1 | CompareType |
|---|---|---|---|---|
| Check Self's memory toward Target | Self | MainEmotionGroupWithTarget | Neutral | Equal |
| Check the reverse direction for no match | Target | MainEmotionGroupWithTarget | Neutral | NotEqual |