Reply To: Behavior Tree and BB var instances – How they works?

NodeCanvas Forums Support Behavior Tree and BB var instances – How they works? Reply To: Behavior Tree and BB var instances – How they works?

#12347
Gavalakis
Keymaster

Hello and I am sorry for the late reply.
Like you expected, yes. The first event info (variable) will be overwritten whenever a new event is send with the new info. That is because the Check Event condition, writes the event info to the selected blackboard variable as soon as the event is received (same frame).
So, the best practice here, would be to instantly use the written variable (eg subtract the damage value from health) before doing any other lengthy actions, like for example playing animations.

Let me know if you have any other questions, or need further clarification on the above.
Thanks.

Join us on Discord: https://discord.gg/97q2Rjh