Skip to main content

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

ParameterDescription
BaseObjectThe character whose memory is checked (Self or Target).
CompareTypeEqual: has the memory with the target / NotEqual: does not have it.
S1Memory ID (Memory.Json) to check.

Examples

DescriptionBaseObjectCommandS1CompareType
Check if Self has a specific memory with TargetSelfHasMemoryWithTargetMemory_Fight_01Equal
Check if Target does not have a specific memory with SelfTargetHasMemoryWithTargetMemory_Fight_01NotEqual