find_smart_objects
Queries the SmartObject subsystem for slots within a box around a world-space point, returning handles and labels. Returns empty results with a note when the runtime spatial index is not initialized.
Instructions
Spatially query the SmartObject subsystem for slots within a box centered on a point (USmartObjectSubsystem::FindSmartObjects). HONEST GATE: the spatial index only populates once the subsystem runtime is initialized (BeginPlay/PIE); in the editor/headless world it is empty, so this returns success with an empty results list and a note rather than fabricating hits.
Returns: { center: [number, number, number], radius: number, results: [{ object_handle: string, slot_handle: string, actor_label: string }], count: int, note?: string }
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| center | Yes | [x, y, z] world-space center of the search box | |
| radius | Yes | Half-extent (uu) of the AABB search box around center | |
| include_claimed | No | Optional: also return already-claimed slots (default false) | |
| include_disabled | No | Optional: also return disabled slots (default false) |