Environment Query System Overview
- Collect data about environment; Generator produces Items; Tests filter/score; returns best Item. Examples: closest health pickup, highest threat, line of sight to player. From UE3 Environment Tactical Query.
- Node types: Generator, Contexts (frame of reference), Tests. Custom Generators via Blueprint or C++; custom Tests only C++. Filter tests run before scoring tests (fewer items scored), so test order doesn't matter.
- Run via Behavior Tree "Run EQS Query" task. Enable Environment Query Editor plugin. Preview with debug spheres.