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
| Parameter | Description |
|---|---|
| BaseObject | The character whose unlocked CAZ objects are checked (Self or Target). |
| CompareType | Supported compare types: Equal (is unlocked), NotEqual (is not unlocked). |
| S1 | The Table ID of the CAZ object to check. |
| S2 | The table name of the CAZ object (e.g., AttachedAccessoryMesh). |
Examples
| Description | BaseObject | Command | CompareType |
|---|---|---|---|
| Check if earring W_Earring009 is unlocked for Self | Self | HasUnlockedCAZObject | Equal |
| Check if a hair mesh is not unlocked for Self | Self | HasUnlockedCAZObject | NotEqual |
| Check if a top garment is unlocked for Target | Target | HasUnlockedCAZObject | Equal |
Back to Command FinderSearch and filter all 491 Script Condition documents