Skip to main content

Condition_HasUnlockedCAZObject

Description

Checks if the BaseObject character has unlocked a specific CAZ (customization) object such as clothing, hair, or accessories.

Note

Available table names: AppearanceHairMesh, AppearanceSkinType, AppearanceMole, AppearanceFreckles, AppearanceScar, AppearanceTattoo, AppearanceIrisPreset, AppearanceEyebrow, AppearanceEyelash, AppearanceMustache, AppearanceBeard, AppearanceMakeup, AppearanceBodyShape, GarmentTopMesh, GarmentBottomMesh, GarmentFullMesh, GarmentShoesMesh, GarmentJacketMesh, GarmentHatMesh, GarmentSocksMesh, GarmentInnerTopMesh, GarmentInnerUnderMesh, GarmentStockingsVariants, SkinnedAccessoryMesh, AttachedAccessoryMesh. Omit the _E0x suffix for DLC table names.

Parameters

ParameterDescription
BaseObjectThe character whose unlocked CAZ objects are checked (Self or Target).
CompareTypeSupported compare types: Equal (is unlocked), NotEqual (is not unlocked).
S1The Table ID of the CAZ object to check.
S2The table name of the CAZ object (e.g., AttachedAccessoryMesh).

Examples

DescriptionBaseObjectCommandCompareType
Check if earring W_Earring009 is unlocked for SelfSelfHasUnlockedCAZObjectEqual
Check if a hair mesh is not unlocked for SelfSelfHasUnlockedCAZObjectNotEqual
Check if a top garment is unlocked for TargetTargetHasUnlockedCAZObjectEqual