Reply To: How to set blackboard value at runtime?

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

#13114
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!