Skip to main content

Condition_HasPreference

Description

Checks whether the BaseObject character has a specific preference by ID.

Parameters

ParameterDescription
BaseObjectThe character whose preference list will be checked (Self or Target).
CompareTypeSupported compare types: Equal (has the preference), NotEqual (does not have the preference).
S1The Preference ID to check.

Examples

DescriptionBaseObjectCommandCompareType
Check if Self has the Coffee preferenceSelfHasPreferenceEqual
Check if Self does not have the Coffee preferenceSelfHasPreferenceNotEqual
Check if Target has the Music preferenceTargetHasPreferenceEqual
Check if Target does not have the Sports preferenceTargetHasPreferenceNotEqual