ue5_verify_behavior
Verify runtime behavior by reading a live actor property and comparing it with an expected value via exact, tolerance, or contains matching, with optional PIE screenshot evidence.
Instructions
Assert runtime behavior: read a live property and compare with the expected value (exact / tolerance / contains), optionally capture a PIE screenshot as evidence. Requires PIE/Simulate running; mismatch is fail-loud. | 行为验证:读运行时属性与期望比对(支持数值容差/子串),可附截图证据;PIE 未运行会 fail-loud。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| match | No | exact (default) | contains | |
| world | No | pie (default) | editor | |
| capture | No | Capture screenshot evidence (default true) | |
| expected | Yes | Expected value | 期望值 | |
| out_path | No | Screenshot relative path (optional) | |
| tolerance | No | Numeric tolerance for exact | 数值容差 | |
| actor_name | Yes | Actor name in the running world | Actor 名 | |
| property_name | Yes | Reflectable property | 可读属性名 |