How to search all node's action task's value in a FSM file?

NodeCanvas Forums General Discussion How to search all node's action task's value in a FSM file?

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #15843
    shortlin
    Participant

    First,Thank you write this tool.
    As Title ,Could we do this in one for loop?
    I just found I Could use FSM.allNodes to find all nodes,but I could not find one node’s action task’s value.
    And I found I could use FSM.rootGraph.GetAllParameters() to get all value,but I found foreach this would run more 2 times in a node and I could not know which the node is the parameters belong .

    So is there a way to run all node to get all node’s action task’s value and get the node’s conection’s all conditions?
    Thank you.

    #15858
    Gavalakis
    Keymaster

    Hello there,

    Here is some code that would fetch data from a graph and its nodes:

    Do the above work for you, or you would also need to know which Task contains which BBParameter specifically?

    Thanks!

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

    #15871
    shortlin
    Participant

    Thank you!

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