[SOLVED] Calling condition function inside of a behavior

Hi, I have downloaded the Health Behavior and I was trying to use it with some other purpose: when the Object of the behavior die, i want to make it disappear and move it away and, after 5 second, to appear and move again (instead of deleting and creating another one that its tricky to do via behavior for me):

The problem is that the doStepPreEvents seems to not see the “object is dead” condition (and I know that it’s dead cause his health is lower than 0 in the debugger).
I’m doing something wrong?

I have solved my problem cause it was entirely my fault in the code!
I would delete this post but I can’t.

1 Like