Description
Checks whether the BaseObject character has a specific preference by ID.
Parameters
| Parameter | Description |
|---|
| BaseObject | The character whose preference list will be checked (Self or Target). |
| CompareType | Supported compare types: Equal (has the preference), NotEqual (does not have the preference). |
| S1 | The Preference ID to check. |
Examples
| Description | BaseObject | Command | CompareType |
|---|
| Check if Self has the Coffee preference | Self | HasPreference | Equal |
| Check if Self does not have the Coffee preference | Self | HasPreference | NotEqual |
| Check if Target has the Music preference | Target | HasPreference | Equal |
| Check if Target does not have the Sports preference | Target | HasPreference | NotEqual |