Completely stumped on label image/animation behavior - Reset/Reload instrument.

JordonBeal
JordonBeal Member Posts: 11 Member
edited October 2024 in Scripting Workshop

I have a set of labels with custom skins that are controlled by menu selections.

The issue I'm running into is that all images reset to the first frame when the instrument is restarted/reinitialized, despite the menu selections themselves staying persistent. I would like whatever frame is tied to a specific menu selection to be retained when the instrument is reinitialized.

I've been hunting forums and poring over the KSP Reference Manual, and I'm completely stumped on this.

Thanks in advance.

Comments

  • EvilDragon
    EvilDragon Moderator Posts: 1,031 mod

    You need to set the picture state for those labels based on those menu values in persistence_changed callback.

This discussion has been closed.
Back To Top