Condition_HasEmotionBuffWithTarget
Description
Checks whether the BaseObject remembers any non-expired buff with S1 EmotionId toward the NonBaseObject. Compares the original EmotionId stored on each MemoryComponent buff record, including remaining bonus time. Any matching record counts, even when its group is not the main emotion 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 | Emotion.Id to match against each recorded buff (e.g., Funny, Sad). |
| S2, F1, F2 | Unused. |
Examples
| Description | BaseObject | Command | S1 | CompareType |
|---|---|---|---|---|
| Check Self's memory toward Target | Self | HasEmotionBuffWithTarget | Funny | Equal |
| Check the reverse direction for no match | Target | HasEmotionBuffWithTarget | Funny | NotEqual |