Condition_HasMemoryWithTarget
Description
Checks if the BaseObject character has the specified memory with the NonBaseObject as the target.
Unlike HasMemory (which searches all targets), this only checks the SocialContext entry
for the NonBaseObject entity specifically.
Parameters
| Parameter | Description |
|---|
| BaseObject | The character whose memory is checked (Self or Target). |
| CompareType | Equal: has the memory with the target / NotEqual: does not have it. |
| S1 | Memory ID (Memory.Json) to check. |
Examples
| Description | BaseObject | Command | S1 | CompareType |
|---|
| Check if Self has a specific memory with Target | Self | HasMemoryWithTarget | Memory_Fight_01 | Equal |
| Check if Target does not have a specific memory with Self | Target | HasMemoryWithTarget | Memory_Fight_01 | NotEqual |