Reply To: How to set blackboard value at runtime?

NodeCanvas Forums General Discussion How to set blackboard value at runtime? Reply To: How to set blackboard value at runtime?

#15943
Gavalakis
Keymaster

Hello and sorry for the late reply!

You can add or set blackboard variables in runtime through code and through the blackboard API.

  • Get a reference to the Blackboard you want to modify.
  • Use ‘blackboard.SetVariableValue(“myVariable”, 13.5f)’ (as an example).

Please let me know if that is what you mean.

Thanks!

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