Description
Checks the level of the character's currently active emotion.
First verifies that the character's current emotion type matches the value specified in S1.
If it matches, the emotion's level is compared against the provided value(s) using CompareType.
If the current emotion does not match S1, returns true only when CompareType is NotEqual.
Parameters
| Parameter | Description |
|---|
| BaseObject | The character whose current emotion level will be checked |
| CompareType | Comparison operator for emotion level (Equal, NotEqual, Greater, Less, InRange, OutRange, etc.) |
| S1 | EmotionType to match against the current emotion (e.g., Excited, Sad) |
| F1 | Primary comparison value (emotion level threshold) |
| F2 | Upper bound for range comparisons (InRange, OutRange) |
Examples
| Description | BaseObject | Command | CompareType | S1 | F1 | F2 |
|---|
| Check if Self's current Excited level is 2 or higher | Self | EmotionLevel | GreaterOrEqual | Excited | 2 | |
| Check if Target is not currently Sad at any level | Target | EmotionLevel | NotEqual | Sad | 1 | |
| Check if Self's current Calm level is between 1 and 3 | Self | EmotionLevel | InRange | Calm | 1 | 3 |