Change graphs in runtime

FlowCanvas Forums Support Change graphs in runtime

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #1721
    Philz
    Participant

    Is it possible to use a one FlowScriptController to change multiple graph files at runtime?

    I would like to create a graph file for each skill and execute it while replacing it during runtime.

    #1725
    Gavalakis
    Keymaster

    Hello,

    Sorry for late reply.
    Yes, that is very possible and easy. You can create as many FlowScript assets as you’d like and then change the “active” flowScript by getting a reference to the FlowScriptController and calling SwitchGraph.
    controller.SwitchGraph(someFlowScriptAsset).

    Let me know if that works for you.
    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.