-
Notifications
You must be signed in to change notification settings - Fork 466
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
[Game Interactor] Add LoadGame and ExitGame hooks #2542
[Game Interactor] Add LoadGame and ExitGame hooks #2542
Conversation
Is |
Yes all reset options use the reset command (Ctrl+R/selecting reset from the menu bar/using reset in the console). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Beginning to move some rando stuff over! Nice :)
Nice changes also to the file slots stuff
LGTM 👍
Hell yes, this is exactly what I need in order to fix #1187 |
Keep in mind as it is right now, |
Ah. It is if My fix in the non-fast-file-select case was indeed to run something that executes exactly once per file before the first frame of gameplay, and that something was to initialize @dcvz if we could find a different place to place the call to |
This adds
LoadGame
andExitGame
hooks which can be used to run actions when entering/exiting the game. The hooks will have the file number passed in if needed by the consumer.As an example, I have moved the entrance tracker data setup/teardown methods to use these hooks.
The hooks run in the following scenarios:
LoadGame
ExitGame
reset
in the console)Build Artifacts