delete_entity
Delete an entity and all its brushes from a Quake-format .map file. Protects worldspawn, writes the file, and checks for unsaved editor changes before reloading.
Instructions
Delete an entity (and all its brushes). Refuses to delete worldspawn. Writes the file; TrenchBroom-HL reloads it automatically, but asks first - and defaults to KEEPING the editor version - if the document has unsaved edits.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| index | Yes | ||
| map_path | Yes | Absolute path to the .map file |