Skip to main content

Execute_AddHope

Description

Adds a specific Hope (wish/ambition) to the specified BaseObject's hope slots. The other party (Self or Target) is automatically assigned as the reason/source of this hope.

Parameters

ParameterDescription
BaseObjectThe character to add the hope to (Self or Target).
S1The Hope ID to add (e.g., Preference_Cooking, Preference_Piano).
F1Delay time (in seconds) before the hope becomes active.

Examples

DescriptionBaseObjectCommandS1F1
Add Cooking hope to Self immediatelySelfAddHopePreference_Cooking0
Add Piano hope to Target with a 5-second delayTargetAddHopePreference_Piano5
Add Guitar hope to Self with a 10-second delaySelfAddHopePreference_Guitar10
Add Cooking hope to Target immediatelyTargetAddHopePreference_Cooking0