Condition_CanApologize
Script condition function to check if Self can apologize to Target.
This condition verifies whether the BaseObject (Self) is in a state where they can apologize to the NonBaseObject (Target). Returns true when Target's MemoryComponent contains a SocialContext for Self with State == Active and MoodScore < 0.
Parameters
| Parameter | Description |
|---|---|
| BaseObject | Character entity attempting to apologize (Self or Target) |
| CompareType | Equal / NotEqual |
Examples
| Description | BaseObject | Command | CompareType |
|---|---|---|---|
| Check if character can apologize to target | Self | CanApologize | Equal |
| Check if target can apologize to character | Target | CanApologize | Equal |