Reply To: Blackboard Variable changed condition

NodeCanvas Forums Support Blackboard Variable changed condition Reply To: Blackboard Variable changed condition

#12846
Gavalakis
Keymaster

Hello and sorry for the late reply.

I have modified your code to work as I expect you want it to:

Some notes:
– Use OnInit only for initialization similar to Unity’s Awake.
– Use OnEnable and OnDisable to subscribe and unsubscribe.
– You don’t have to call base implementation of methods.
– A BBParameter will never be null. Use .isNone to determine if the front-end user has selected a variable or not.

Let me know if that works for you.
Thanks!

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