Skip to main content

Condition_HasHope

Description

Checks whether the specified BaseObject (character) currently has a specific Hope (wish/ambition) active in their hope slots.

Parameters

ParameterDescription
BaseObjectThe character to check (Self or Target).
CompareTypeEqual (character has the Hope), NotEqual (character does not).
S1The Hope ID to check (e.g., Preference_Cooking, Preference_Piano).

Examples

DescriptionBaseObjectCommandCompareTypeS1
Check if Self wants to practice cookingSelfHasHopeEqualPreference_Cooking
Check if Target is not wishing to play the pianoTargetHasHopeNotEqualPreference_Piano
Check if Self has a desire to play the guitarSelfHasHopeEqualPreference_Guitar
Check if Target does not want to cookTargetHasHopeNotEqualPreference_Cooking