get_included_variable()
On this page
get_included_variable(script, name, fallback = null)Read the router’s per-script shared-variable dictionary.
Returns: Value or fallback.
get_included_variable("utility_pca", "last_total", 0)This store is separate from declarations in that script. It is session/cache state, not automatic save-game state.
set_included_variable()#
set_included_variable(script, name, value)Write to the router’s per-script shared-variable dictionary.
Returns: Boolean; requires an existing script ID and a nonempty name.
set_included_variable("utility_pca", "last_total", 15)run_visual_graph()#
run_visual_graph(graph, context = {})Execute graph data through the visual runtime.
Returns: The visual graph’s returned value, where provided.
run_visual_graph({"nodes": [], "connections": []})The first argument is a graph dictionary, not a visual-script ID. Prefer run visual script / the script router for a saved record.
