Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Allow state to be passed between reloads #419

Open
@shanecelis

Description

Problem

When I'm editing a script and the game is running, it resets all the state upon reload.

Solution

I'd like there to be some mechanism to pass state before a script is unloaded to the reloaded script.

I initially thought overloading the on_script_loaded() could accept a state argument and on_script_unloaded() could provide state.

Alternative Solution

But discussion in the discord suggested maybe a particular variable ought to be designated be preserved between scripts.

I was thinking about trying my hand at implementing this, but I haven't done anything yet.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

        AltStyle によって変換されたページ (->オリジナル) /