viewshed
Calculate what is visible from a point, returning visible/hidden areas, farthest visible distance, and a map for spawns, sniper spots, hiding places, or objective visibility.
Instructions
What can be seen from a point: for each reachable cell, a ray from the eye to a point target_height above the
floor. Returns visible and hidden area, the farthest visible distance and a map. Use it for spawns (what does an
enemy see?), sniper spots, hiding places, objective visibility. The area is the one that contains the point.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cell | No | ||
| names | No | ||
| point | Yes | ||
| max_step | No | ||
| max_range | No | ||
| eye_height | No | ||
| agent_height | No | ||
| agent_radius | No | ||
| max_slope_deg | No | ||
| target_height | No |