Reply To: referenced blackboard variable nodes

FlowCanvas Forums Nodes, Macros & Examples referenced blackboard variable nodes Reply To: referenced blackboard variable nodes

#311
Gavalakis
Keymaster

    Hello!

    The only issue I see here is when setting the BBParameter.bb from the input Blackboard type port value.
    If you do this in the editor, the ports are not yet binded, so I can see this work only in playmode, unless I am missing something 🙂
    Please, feel free to post the nodes here so I can take a look. I don’t mind posting nodes here at all.

    I have also attached here the updated variable nodes. This package includes 2 nodes that are able to Get/Set blackboard variable from a blackboard other than the one the flowscript is using. This is done similar to what you probably have, by having an input of type Blackboard, but the key difference here is that instead of using a BBParameter, it simply use a string to enter the name of the variable to get/set from.

    The problem of using a BBParameter instead of a string (or DynamicVar in your case), is that if the blackboard is fetched by a connection instead of a direct reference assignment in the inspector of the node, it will need to be evaluated in the editor and even if I allow binding ports within the editor, I am not sure if evaluating the ports in the editor is a good thing to do, which is required to resolve the blackboard reference.

    Once again, please feel free to post your nodes here and let me know if the new nodes in the package suffice or you have a better suggestion.
    The new get/set nodes can be found under “Variables/Get Blackboard Variable/Get Other Of Type(T)” and respectively “Set Other Of Type (T)”

    Thank you!

    Attachments:
    You must be logged in to view attached files.