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

[IMP] Add eventhandler for valuechange of counter #150

Open
FVMF opened this issue Mar 22, 2022 · 0 comments
Open

[IMP] Add eventhandler for valuechange of counter #150

FVMF opened this issue Mar 22, 2022 · 0 comments

Comments

@FVMF
Copy link

FVMF commented Mar 22, 2022

The default counter object that comes with TTS is useful to use in mods. However, I use multiple counters and the value of some counters is dependent on the (combined) value of other counters. To keep them in sync at the moment, I have to use the global event handler onUpdate() or onFixedUpdate() to keep the counters in sync. These global event handlers are both CPU intensive. It would help if there would be a global event handler that is triggered whenever any counter changes value.

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

1 participant