behaviour_tree

Arrest

Fields

FieldValue
nodes
[
  {
    "input": {},
    "name": "NodeAll",
    "nodes": [
      {
        "input": {
          "chancesToBeEmpty": 0.85,
          "dialogueType": "ArrestingThief"
        },
        "name": "DialogueArrestingThief",
        "nodes": [],
        "type": "NodeDialogue",
        "weight": 1
      },
      {
        "input": {
          "range": 1,
          "targetName": "TargetThief"
        },
        "name": "ThiefInRange",
        "nodes": [
          {
            "input": {
              "targetName": "TargetThief"
            },
            "name": "ArrestThief",
            "nodes": [],
            "type": "NodeArrestThief",
            "weight": 1
          }
        ],
        "type": "NodeCheckIfNPCIsInRange",
        "weight": 1
      },
      {
        "input": {
          "targetName": "TargetThief"
        },
        "name": "MoveToThief",
        "nodes": [],
        "type": "NodeMoveToNPC",
        "weight": 1
      }
    ],
    "type": "NodeAll",
    "weight": 1
  }
]