Assigning blackboard variables from another flowscript

FlowCanvas Forums Support Assigning blackboard variables from another flowscript

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #344
    kevynm
    Participant

    I want to pass a variable from a flowscript and assign it to another flowscript’s blackboard variable. How do you do that? Like calling a setter function of another class. Also, can you pass lists?

    #352
    Gavalakis
    Keymaster

    Hello,

    You can use the node: “Variables/Set Blackboard Variable/Set Other Of Type (T)” to do that.
    Another way would be to use the SendEvent(T), to send an event to that other flowscript, which in turn can listen to that event and save the event’s value to the blackboard on it’s own, but I suppose the first solution is a bit faster 🙂

    Regarding setting or sending a list, I will have to improve the GUI to include Lists under the generic (T) nodes subcategories and it will then be possible. Actually I will implement this ASAP and send the update to the asset store since I think it’s important and was omited.

    Thanks!

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

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.