Condition_OwnedEmotionLevel
Description
Checks the level of an owned emotion for the specified character. Looks up the given EmotionType (S1) in the character’s owned emotion list and compares its stored level against the provided value(s) using CompareType. Unlike current emotion checks, this evaluates emotions regardless of whether they are currently active.
Note
Returns false if the specified EmotionType is not present in the owned emotion list.
Parameters
| Parameter | Description |
|---|---|
| BaseObject | The character whose owned emotion will be checked |
| CompareType | Comparison operator for emotion level (Equal, NotEqual, Greater, Less, InRange, OutRange, etc.) |
| S1 | EmotionType to look up in the owned emotion list (e.g., Excited, Calm) |
| 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 owns Excited emotion with level 3 or more | Self | OwnedEmotionLevel | GreaterOrEqual | Excited | 3 | |
| Check if Target owns Calm emotion within level range 2-5 | Target | OwnedEmotionLevel | InRange | Calm | 2 | 5 |
| Check if Self does not own Sad emotion in range 1-3 | Self | OwnedEmotionLevel | OutRange | Sad | 1 | 3 |