Condition_IsOccupyingParentSlot
Description
Checks whether BaseObject(GameObject) is currently occupying any Object-type slot on its parent entity. Slot type/name agnostic — returns true if any Object slot on the parent reports this object as occupier.
Used by HandCraft_Continue and similar interactions to dim the menu when the craft object has been detached from a workbench (e.g., moved to the floor in build mode), since build mode only allows craft objects to sit on a workbench or directly on the floor (= attached to site, no slot occupancy).
Parameters
| Parameter | Description |
|---|---|
| BaseObject | The GameObject whose parent slot occupancy is checked (Self or Target). |
| CompareType | Equal (occupying any parent slot), NotEqual (not occupying any parent slot). |
Back to Command FinderSearch and filter all 491 Script Condition documents