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

show menu script finishes turn before calling callback #1361

Open
KVonGit opened this issue Jan 8, 2025 · 2 comments
Open

show menu script finishes turn before calling callback #1361

KVonGit opened this issue Jan 8, 2025 · 2 comments

Comments

@KVonGit
Copy link
Collaborator

KVonGit commented Jan 8, 2025

I have to add this line to my show menu (not ShowMenu!) callback script to make the turn scripts fire:

game.runturnscripts = true

Apparently, the change in 5.8 to make the FinishTurn function handle everything (more things?) has broken show menu, because this issue does not exist in 5.7.2.


This probably needs to be added to the show menu script's code:

 if (m_worldModel.Version == WorldModelVersion.v580)
@Pertex
Copy link
Collaborator

Pertex commented Jan 8, 2025

Do you mean you must add game.runturnscripts = true to repair show menu or show menu is broken beause you have added game.runturnscripts = true?

@KVonGit
Copy link
Collaborator Author

KVonGit commented Jan 8, 2025

I have to add it to make it work properly.

@KVonGit KVonGit changed the title show menu script stops turn scripts from firing (Quest 5.8) show menu script finishes turn before calling callback Jan 22, 2025
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

No branches or pull requests

2 participants