Condition_HasEmotionGroupBuffWithTarget
Description
Checks whether the BaseObject remembers any non-expired buff in S1 EmotionGroup toward the NonBaseObject. Uses MemoryComponent's target-specific groups after applying expiration and remaining bonus time. Any non-empty matching group counts. Neutral has no stored buff records.
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 | HasEmotionGroupBuffWithTarget | Joy | Equal |
| Check the reverse direction for no match | Target | HasEmotionGroupBuffWithTarget | Joy | NotEqual |