Skip to main content

Condition_ObjectCategory

Description

Checks the ObjectCategory of the specified BaseObject against a given category name.

Parameters

ParameterDescription
BaseObjectThe object to evaluate (resolved to a FB2GameObject)
CompareTypeComparison operator: Equal, NotEqual
S1ObjectCategory name to compare against (FName)

Examples

DescriptionBaseObjectCommandCompareTypeS1
Check if target object category is FurnitureTargetObjectCategoryEqualFurniture
Check if self object category is not VehicleSelfObjectCategoryNotEqualVehicle