Skip to main content

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

ParameterDescription
BaseObjectThe character whose owned emotion will be checked
CompareTypeComparison operator for emotion level (Equal, NotEqual, Greater, Less, InRange, OutRange, etc.)
S1EmotionType to look up in the owned emotion list (e.g., Excited, Calm)
F1Primary comparison value (emotion level threshold)
F2Upper bound for range comparisons (InRange, OutRange)

Examples

DescriptionBaseObjectCommandCompareTypeS1F1F2
Check if Self owns Excited emotion with level 3 or moreSelfOwnedEmotionLevelGreaterOrEqualExcited3
Check if Target owns Calm emotion within level range 2-5TargetOwnedEmotionLevelInRangeCalm25
Check if Self does not own Sad emotion in range 1-3SelfOwnedEmotionLevelOutRangeSad13