ui_tree
Retrieves the DayZ client UI widget tree with node details (path, class, name, visibility, rectangle, depth, text). Configure root, depth, and limit to control the walk, with truncation support.
Instructions
The client's widget tree: what is on screen, as the engine holds it.
root is "menu" (the open scripted menu, the default) or "screen" (the
whole workspace). Each node comes back with its path, class, name,
visibility, screen rectangle, depth and -- where the engine allows it to be
read -- its text.
The answer is A PAGE: total is how many nodes the walk visited and count
is how many it listed, and truncated says when they differ. A shorter list
that did not say so would read as the whole interface.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| root | No | menu | |
| depth | No | ||
| limit | No | ||
| timeout | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| data | No | ||
| hint | No | ||
| error | No |