Skip to content

On Saved Game Load, Return Focus to Last Focused Unit #131

Open

Description

@Bit-Crust

Following the template, I'm always frustrated when I save the game in an intense combat situation far, far from the brain, and then upon loading that same save, focus defaults to the brain, so that the unit may be off-screened before I can navigate focus back to him.

It would probably be better in just about every situation if loading a save meant focus would be returned to the last focused unit.

This is particularly bad on Decision Day in the final stretch.

Activity

  1. self-assigned this
    on May 14, 2024
  2. Causeless commented on Jun 7, 2024

    @Causeless
    Contributor

    We use some SpecialBehaviour properties for save/loading this sorta stuff, for example we save/load actor limbs (or lack thereof) by removing their preset limbs with a special behaviour property. Could do the same with a SpecialBehaviour on the Scene or Activity or perhaps Actor itself.

    I am unsure if we save a serialized unique ID per-object. That would make this easier.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions