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

Add PauseAtLastInterrupt input and scene_resume_use_last_speaking cvar #372

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

Blixibon
Copy link
Member

Cvar for scene resumption code to use the last speaking actor, rather than always the first; also includes input to pause at last interrupt point, a closely related feature.

This PR adds a new input called PauseAtLastInterrupt which pauses the scene and then rewinds it to the last interrupt point. It also adds a new cvar called scene_resume_use_last_speaking which plays the resume scene with the last speaking actor as !Target1, instead of the first actor in the scene. This PR also fixes resume scenes not using any actor at all in some cases.

These changes are pretty much only relevant to scenes that use the "resume scene" keyvalue to play a resume scene or concept after the scene is paused.


PR Checklist

  • My PR follows all guidelines in the CONTRIBUTING.md file
  • My PR targets a develop branch OR targets another branch with a specific goal in mind

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant