Hi, I need some help with my current project:
I want to use only one FSM asset to control different NPCs. I do not bind the graph because I want a change in the FSM asset can be assign to all NPC using that asset in the future, so I don’t need to fix every bound graph one by one when there are only universal changes requested.
But now there is a problem. When I add a subtree variable on the graph blackboard and assign the subtree to a FSM state, I cannot assign subtree’s exposed variables because the assign field will not show up in editor mode. And when I add a subtree variable on the object blackboard, although the assign field shows up, whenever I assign one NPC’s subtree variable, the other NPC’s variable will be cleared out.
Hello. Sorry for the late reply, I was away for a few days.
I am not sure I understand the issue you are facing :/
Exposed graph blackboard variables will either
1) Show up in the inspector of the node that use that graph as a subgraph, or
2) Show up in the inspector of the GraphOwner component if that graph is assigned directly to the GraphOwner (therefore not as a subgraph to another graph).