A FlowScript can also be placed as a SubGraph within a NodeCanvas Dialogue Tree. The actor selected for the SubFlowScript node will be used as “Self” within the FlowScript in all places where “Self” is used.
Similar to the other integrations (BT, FSM), you can use the Finish node in the FlowScript to return Success or Failure back to the Dialogue Tree, which result the Dialogue Tree can use.
Remember that you can also use SubGraph Variables Mapping as normal between Dialogue Tree and FlowScript.
© Paradox Notion 2014-2024. All rights reserved.