Doors open after shooting the target.

Ok. The events should execute in this order: Trigger recieves damage | dispatcher fires | door recieves the call of the dispatcher and executes the binded function | finally execute the custom event. So all we have to do is place print nodes at the start of each to know what is executing and when.

Lets try and follow the chain to see what is not working. Add a print at the start of each so we can visually track what happens when the trigger gets hit. The result should look something like this:
image

Start at he trigger:


A bit redundant but still add one in the function:

Then in the door add one at the binded function:

And finally at the custom event:

We can determin the problem faster by looking at the last printed text.

You can also use breakpoints for this. Print nodes will work just fine if you are not familiar with them.

Let me know how it goes.

1 Like