Jump to content

Workable component, no "workfinished" event fired


Serpens
  • Pending

Hi,

I would like to add a function via mod to every "workfinished" event from the workable component. But by doing this I noticed, that this event is never called for many many things. Eg. a maxwellstatue the event is not fired when teared down.

I think this is because the "onfinished" and also the "onworked" callback functions, are called BEFORE the events are pushed in workable component.
And if these callback functions remove the inst, the event will never be fired.

Now the question is, if this is intended or not... I would put the "Pushevent" stuff before calling the callback functions. But depending on the rest of your coding, it might cause trouble ?!

Anyway:
I would like to have a way to succesfully Listen for this "workfinished" event.


Steps to Reproduce
destroy maxwellstatue or other things with workable cmoponent and you will notice that the workfinished event is not fired



User Feedback


There are no comments to display.



Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
  • Create New...