Reply To: Bind Global BlackBoard Field

Forums 💬 NodeCanvas ⚙️ Support Bind Global BlackBoard Field Reply To: Bind Global BlackBoard Field

#18641
ironwolf
Participant

    It is pretty complicated 😉

    Lets say I have an objects structure like this:

    Every Sub use the same Graph, so every Sub-A use Graph-A, Sub-B use Graph-B, and so on.
    But every graph make some operation on a global variable, and every Object use other variable.
    I presume you lost already, so example:

    Lets say:
    Object-1 use Global_BB.MyFloat_1
    Object-2 use Global_BB.MyFloat_2
    etc.

    So:
    Object-1 > Sub-A make Graph-A operations using Global_BB.MyFloat_1

    But:
    Object-2 > Sub-A make Graph-A operations using Global_BB.MyFloat_2

    Same way:
    Object-1 > Sub-B make Graph-B operations using Global_BB.MyFloat_1
    Object-2 > Sub-B make Graph-B operations using Global_BB.MyFloat_2
    And so on.

    Lets say I have several Objects like that. If I use Global Variable directly I must edit a lot of graphs which are the same but differ only by the variable it uses. So I get an idea that I make local variable on every object and then bind this local variable with proper Global variable, so Sub will use local variable, and don’t have to be edited every time, so I can reuse my graph easily.

    It is not an urgent matter – I bypassed this problem with my custom script, and omitted Global Blackboard at all. But it is an interesing issue so I am curious if it is a way to achieve this with a Node Canvas 🙂

    If you don’t understand something, then please ask – I will be glad to explain it more. Maybe it will help someone or inspire you to some new feature 😉