onEndPlay

The onEndPlay node fires when the game session is finished, whether by time expiration, player success, or manual intervention by the Room Master. It provides the reason for the end and a boolean accomplished status.
When to use this node:
* Post-Game Cleanup: Turning off all interactive props, resetting lighting to "Maintenance" mode, and clearing player-facing displays.
* Result Reporting: Using the accomplished status to show a "YOU WIN" or "GAME OVER" screen with a final summary of the players' performance.
Connectors out
- onEvent [type: action]
- reason [type: string]
- accomplished [type: bool]