evaluate_chooser_table
Run a UChooserTable headlessly to return the single chosen result, using context_object_path to seed evaluation and report fallback when no context property matches.
Instructions
Actually RUN a UChooserTable and get the SINGLE chosen result -- the way to test a chooser you just authored without opening the editor. Headless-safe: it is a pure runtime API, so it needs no PIE and no render. Pass context_object_path (any UObject in the editor world) to seed the evaluation context. A table with no columns, or one where no context property matches, falls through to the table's FallbackResult (reported as fallback_used); a table that matches nothing and has no fallback returns null. Use evaluate_chooser_table_multi when you want EVERY matching result instead of the first.
Returns: { table_path, evaluated, result_object_path, result_object_class, fallback_used, note? }
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| table_path | Yes | Long package path of an existing UChooserTable. | |
| object_class | No | Optional UClass path for the expected result type (default = /Script/Engine.Object). | |
| context_object_path | No | Optional UObject path used to seed the evaluation context. |