Skip to main content

Condition_ObjectDetailType

Description

Checks the ObjectDetailType (EB2GameObjectDetailType) of the specified BaseObject against a given type name.

Parameters

ParameterDescription
BaseObjectThe object to evaluate (resolved to a FB2GameObject)
CompareTypeComparison operator: Equal, NotEqual
S1EB2GameObjectDetailType enum name to compare against (e.g., Food, Book, CraftObject)

Examples

DescriptionBaseObjectCommandCompareTypeS1
Check if target object detail type is FoodTargetObjectDetailTypeEqualFood
Check if self object detail type is not BookSelfObjectDetailTypeNotEqualBook