Condition_ObjectDetailType
Description
Checks the ObjectDetailType (EB2GameObjectDetailType) of the specified BaseObject against a given type name.
Parameters
| Parameter | Description |
|---|---|
| BaseObject | The object to evaluate (resolved to a FB2GameObject) |
| CompareType | Comparison operator: Equal, NotEqual |
| S1 | EB2GameObjectDetailType enum name to compare against (e.g., Food, Book, CraftObject) |
Examples
| Description | BaseObject | Command | CompareType | S1 |
|---|---|---|---|---|
| Check if target object detail type is Food | Target | ObjectDetailType | Equal | Food |
| Check if self object detail type is not Book | Self | ObjectDetailType | NotEqual | Book |
Back to Command FinderSearch and filter all 491 Script Condition documents