HookObjectChange for registering callbacks on object properties #31
Unanswered
lukas-runge
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello everyone,
does anyone know if there is a way for registering callbacks on objects like e.g.
groups
to parse them when any of their parameters (e.g. name) change? I saw that the functionHookObjectChange
is used in a similar context for example to fetchWindowSettings
on UI compontents like inwindow_agenda.lua
:window_agenda.lua
I havent yet managed to get this working with external objects tho as I don't know what their handle is. I hope that this function (
HookObjectChange
) could finally allow for plugins that extend MA3s inbuild functionality automatically without needing to be called upon action or running in a while loop withcoroutine.yield()
. This would be seriously so dope!Hope someone has an idea on how this could potentially work.
Kind regards
@lukas-runge
Beta Was this translation helpful? Give feedback.
All reactions