34. Make a reply box you can dismiss
Create a GUI with ID reply_card. Make it hidden at startup and Modal. Use Cut transitions. Give it a higher Z order than the graphical HUD.
| Element ID | Type | X, Y | Size | Content |
|---|---|---|---|---|
| reply_panel | Panel | 170, 170 | 940 × 340 | Light background, dark border. |
| reply_text | Label | 202, 194 | 876 × 230 | $$ta_reply; 27-point dark text; top/left aligned. |
| reply_ok | Button | 820, 445 | 240 × 46 | Enter / OK |
Figure 21. The graphical reply stays open until the player dismisses it. Walking is blocked while this modal GUI is open.
Set the button’s Click event to an action list calling Close Adventure Reply. The controller also handles Enter and Escape while a reply is open. Dismissing it hides the card and releases GUI focus so movement can resume.
A timed Show Message action and this reply card are different presentations. Use the card for the classic “read, press Enter, continue” rhythm. Do not add a second Show Message action to the same successful controller response.
