Read the trigger tree
wc3_read_triggersInspect a Warcraft III map's GUI trigger tree: retrieve categories, variables, and per-trigger metadata including name, enabled status, comment, and action count.
Instructions
Inspect the GUI trigger tree (war3map.wtg): categories, variables, and per-trigger metadata (name, enabled, comment, action count). GUI triggers compile to the map script — to change behavior reliably, edit the script (wc3_add_trigger).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mapPath | Yes | Absolute path to the .w3x/.w3m map file |