Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Bit-Crust opened this issue May 14, 2024 · 1 comment
Open

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

Bit-Crust opened this issue May 14, 2024 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@Bit-Crust
Copy link
Contributor

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.

@Bit-Crust Bit-Crust added the enhancement New feature or request label May 14, 2024
@Bit-Crust Bit-Crust self-assigned this May 14, 2024
@Causeless
Copy link
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
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants