remove_ism_instance
Removes one instance from a specified actor's InstancedStaticMeshComponent by index; re-read num_instances afterward because indices shift.
Instructions
Delete ONE instance from an InstancedStaticMeshComponent by index. Indices shift after a removal, so remove from the highest index down when deleting several; to empty the component entirely use clear_ism_instances instead. Re-read num_instances from the reply (or get_ism_instance_info) as the oracle -- removed:true alone is not proof of the final count.
Returns: { removed: bool, num_instances: int }
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| actor_name | Yes | Display label or internal name of the actor carrying the ISM component (required) | |
| component_name | No | Optional ISM component name | |
| instance_index | Yes | Index of the instance to remove (required, >=0) |