Repository navigation
- Library now supports LTS 2026
Since 3.2.5:
- Fixes reloading a source resetting option visited counter
- Fixes problems with variable resetting and constants
- Adds optional
stripScopeparameter toChatterboxAddFunction(). This addresses a bug where custom Chatterbox functions/actions were being executed in the wrong scope if the GML method used to define the function was not in global or undefined scope. Some users may be unknowingly reliant on this unintended behaviour. If you encounter bugs then you should setstripScopetofalsewhen callingChatterboxAddFunction()to use legacy behaviour (where GML method scope would persist) - Adds
<<option split>>to divide two consecutive option groups without there needing to be an action or content in between the option groups - Content in option branches can now attach themselves to subsequent option blocks outside of the option branch
The two final changes above makes the following ChatterScript legal. This script will display two options (Left path and Right path) but the content shown alongside these options will be randomised.
<<random option>>
->
Which way do you want to go?
-> #10%
Which path calls out to you?
<<option split>>
-> Left path
<<jump LeftPath>>
-> Right path
<<jump RightPath>>