SplitScript reference / Migration / Exit-time game-time cleanup
Exit-time game-time cleanup
Migration from ASL
Source pattern
Look for the ASL concept Exit-time game-time cleanup in the source. The semantic difference below is more important than a token-for-token rewrite.
Canonical SplitScript
Use the canonical language and API symbols linked below.
Semantic difference
Use onDetach for process-exit cleanup and explicitly pause or resume game time only when the original exit block changes that host state.
Supported hosts
This uses the standard SplitScript runtime contract. Any provider-specific requirements are documented by the linked canonical API.
Related reference
-
onDetach (language)
-
timer.pauseGameTime (standard library)
-
timer.resumeGameTime (standard library)