Wait for a game condition
live_waitPoll a running game's expression until it becomes truthy, so sequences like menu open, battle over, or message finished are followed instead of guessed.
Instructions
Poll an expression in the running game until it is truthy, so a sequence (menu open, battle over, message finished) can be followed instead of guessed at.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pollMs | No | ||
| timeoutMs | No | ||
| expression | Yes | Polled about every 250ms until truthy or timeout |