Skip to main content

Condition_Emotion

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

ParameterDescription
BaseObjectThe character whose current emotion will be checked
CompareTypeComparison operator for emotion matching (Equal, NotEqual, Greater, Less, etc.)
S1EmotionType value to compare against (e.g., Excited, Sad, Calm)

Examples

DescriptionBaseObjectCommandCompareTypeS1
Check if Target is currently excitedTargetEmotionEqualExcited
Check if Self is not currently sadSelfEmotionNotEqualSad
Check if Self is currently calmSelfEmotionEqualCalm