Description
Checks a character's current emotion state.
Resolves the target entity from BaseObject, retrieves its EmotionComponent,
and compares the character's current EmotionType with the value specified in S1
using the given CompareType.
Parameters
| Parameter | Description |
|---|
| BaseObject | The character whose current emotion will be checked |
| CompareType | Comparison operator for emotion matching (Equal, NotEqual, Greater, Less, etc.) |
| S1 | EmotionType value to compare against (e.g., Excited, Sad, Calm) |
Examples
| Description | BaseObject | Command | CompareType | S1 |
|---|
| Check if Target is currently excited | Target | Emotion | Equal | Excited |
| Check if Self is not currently sad | Self | Emotion | NotEqual | Sad |
| Check if Self is currently calm | Self | Emotion | Equal | Calm |