Delete placed unit(s)
wc3_delete_unitRemove specific units from a Warcraft 3 map file by selecting them via creation number, index, or type code. Saves the modified map to an output path.
Instructions
Remove the unit(s) matched by select from war3mapUnits.doo. Saves to outPath, or ".edited." beside the source (pass the source path to overwrite in place).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mapPath | Yes | Absolute path to the source .w3x/.w3m map file | |
| select | Yes | Which unit(s) to target — provide at least one field; `type` can match many | |
| outPath | No | Output map path. Defaults to "<map>.edited.<ext>". |